rust-analyzer/crates
bors 546339a7be Auto merge of #18192 - darichey:read-buildfile-into-vfs, r=Veykril
Include buildfiles in VFS

We subscribe to `textDocument/didSave` for `filesToWatch`, but the VFS doesn't contain those files. Before https://github.com/rust-lang/rust-analyzer/pull/18105, this would bring down the server. Now, it's only a benign error logged:
```
ERROR notification handler failed handler=textDocument/didSave error=file not found: /foo/bar/TARGETS
```
It's benign, because we will also receive a `workspace/didChangeWatchedFiles` for the file which will invalidate and load it.

Explicitly include the buildfiles in the VFS to prevent the handler from erroring.
2024-09-27 19:39:35 +00:00
..
base-db Lift out workspace related data into a separate query to preserve crategraph deduplication 2024-09-11 12:16:41 +02:00
cfg Remove unnecessary CfgFlag definition in project-model 2024-08-07 14:27:59 +02:00
hir Handle lint attributes that are under #[cfg_attr] 2024-09-19 22:21:48 +03:00
hir-def Auto merge of #18160 - ChayimFriedman2:fix-18138, r=Veykril 2024-09-24 10:32:28 +00:00
hir-expand Merge from rust-lang/rust 2024-09-25 09:00:53 +03:00
hir-ty Add more LayoutError variants 2024-09-25 09:15:11 +03:00
ide Auto merge of #18166 - ChayimFriedman2:dollar-crate-root, r=Veykril 2024-09-24 11:01:05 +00:00
ide-assists minor: Use SyntaxEditor in extract_variable 2024-09-26 16:29:16 -04:00
ide-completion Merge from rust-lang/rust 2024-09-25 09:00:53 +03:00
ide-db Prime caches for symbol search too. 2024-09-25 09:41:09 -07:00
ide-diagnostics Handle lint attributes that are under #[cfg_attr] 2024-09-19 22:21:48 +03:00
ide-ssr Properly account for editions in names 2024-08-16 16:46:24 +03:00
intern Merge from rust-lang/rust 2024-09-25 09:00:53 +03:00
limit Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
load-cargo Include buildfiles in vfs 2024-09-26 12:54:55 -04:00
mbe Auto merge of #18151 - ChayimFriedman2:metavar-concat, r=Veykril 2024-09-20 07:23:43 +00:00
parser Run rustfmt 2024-09-25 09:26:15 +03:00
paths Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
proc-macro-api Properly set the working directory for proc-macro execution 2024-09-11 12:23:12 +02:00
proc-macro-srv fix: Fix TokenStream::to_string implementation dropping quotation marks 2024-08-29 08:45:35 +02:00
proc-macro-srv-cli Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
profile Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
project-model Include buildfiles in vfs 2024-09-26 12:54:55 -04:00
rust-analyzer Auto merge of #18197 - alibektas:buggy_flycheck_message, r=Veykril 2024-09-27 05:14:35 +00:00
salsa Drop Apache license appendices 2024-08-27 14:52:34 +03:00
span Fix a bug in span map merge, and add explanations of how span maps are stored 2024-09-23 01:54:40 +03:00
stdx Use crossbeam-channel from the workspace 2024-08-09 23:48:03 +02:00
syntax internal: Add SyntaxFactory to ease generating nodes with syntax mappings 2024-09-26 16:28:48 -04:00
syntax-bridge Get rid of $crate in expansions shown to the user 2024-09-18 18:30:59 +03:00
test-fixture Always cache macro expansions' root node in Semantics 2024-09-17 00:19:39 +03:00
test-utils fix: Always explicitly set trait ref self types when lowering 2024-09-06 14:06:41 +02:00
text-edit Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
toolchain Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
tt Support the ${concat(...)} metavariable expression 2024-09-19 22:19:12 +03:00
vfs internal: Lay basic ground work for standalone mbe tests 2024-09-01 12:42:44 +02:00
vfs-notify Auto merge of #17843 - mo8it:flycheck, r=Veykril 2024-08-12 09:27:47 +00:00