Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subtree update of rust-analyzer #135775

Merged
merged 152 commits into from
Jan 20, 2025
Merged
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
d8eb839
Rename dependency tree view and dependency provider
Giga-Bowser Dec 27, 2024
bdb72bd
internal: Generalize `make::expr_from_text` to types which implement …
Giga-Bowser Dec 14, 2024
8435e3f
internal: `make::expr_prefix` should return `ast::PrefixExpr`
Giga-Bowser Dec 14, 2024
aacc2eb
internal: `make::expr_if` should return `ast::IfExpr`
Giga-Bowser Dec 14, 2024
ef7bb04
internal: `make::expr_tuple` should return `ast::TupleExpr`
Giga-Bowser Dec 16, 2024
6528650
internal: move `make::expr_unit` to `make::ext::expr_unit`
Giga-Bowser Dec 16, 2024
0606db4
internal: Generally improve `make::match_arm`
Giga-Bowser Dec 16, 2024
cce5f25
internal: `make::expr_match` should return `ast::MatchExpr`
Giga-Bowser Dec 16, 2024
cd80380
internal: Add some path constructors to `SyntaxFactory`
Giga-Bowser Dec 14, 2024
396b56f
internal: Add some expr constructors to `SyntaxFactory`
Giga-Bowser Dec 18, 2024
fa8acfa
internal: Add some pattern constructors to `SyntaxFactory`
Giga-Bowser Dec 18, 2024
b2fa162
internal: Migrate `replace_let_with_if_let` assist to `SyntaxEditor`
Giga-Bowser Dec 18, 2024
aa36ac8
internal: Migrate `if let` <=> `match` assists to `SyntaxEditor`
Giga-Bowser Dec 18, 2024
bce6435
Fix a bug with missing binding in MBE
ChayimFriedman2 Jan 7, 2025
a748001
Merge pull request #18877 from ChayimFriedman2/crazy-hang
lnicola Jan 8, 2025
cc07c98
Fix test-fixture autopublishing
lnicola Jan 8, 2025
7c256e5
Merge pull request #18882 from lnicola/publish-test-fixture
lnicola Jan 8, 2025
16721e3
Merge pull request #18855 from Giga-Bowser/migrate-if-let
Veykril Jan 8, 2025
bc1a7fa
fix: Fix `env`/`option_env` macro check disregarding macro_rules defi…
Veykril Jan 8, 2025
8982535
Merge pull request #18884 from Veykril/push-xwqkorxozzkq
Veykril Jan 8, 2025
2be4ce0
refactor: struct holding cargo cfgs settings
qjerome Jan 8, 2025
c59ecb3
fix: autogenerate files
qjerome Jan 8, 2025
93d08b7
fix: requested changed
qjerome Jan 8, 2025
8d1ae29
refactor test helpers within ide-completions
vishruth-thimmaiah Jan 8, 2025
253bba0
Add config setting which allows adding additional include paths to th…
PrototypeNM1 Jan 8, 2025
4001c46
internal: Migrate `wrap_return_type` assist to use `SyntaxEditor`
Giga-Bowser Nov 16, 2024
9b6b629
internal: Migrate `unwrap_return_type` assist to use `SyntaxEditor`
Giga-Bowser Nov 17, 2024
3d6c2f2
minor: Use placeholders in `unwrap_return_type`
Giga-Bowser Nov 17, 2024
13e302c
Fix actual token lookup in completion's `expand()`
ChayimFriedman2 Jan 9, 2025
89a72c7
Make edition per-token, not per-file
ChayimFriedman2 Jan 7, 2025
fbc1d51
Merge pull request #18524 from Giga-Bowser/migrate-wrap-unwrap-return
Veykril Jan 9, 2025
547a12e
Merge pull request #18887 from vishruth-thimmaiah/refactor_completion…
Veykril Jan 9, 2025
cd60477
minor: Fixup macro error kinds
Veykril Jan 9, 2025
85310c4
Merge pull request #18890 from Veykril/push-nwnozlyppvzo
Veykril Jan 9, 2025
f4ecc34
Merge pull request #18885 from qjerome/refactor-cargo-cfgs
Veykril Jan 9, 2025
f6e8974
Merge pull request #18861 from ChayimFriedman2/await-edition
Veykril Jan 9, 2025
e4708fe
Merge pull request #18880 from PrototypeNM1/extra-includes
Veykril Jan 9, 2025
d1b9176
Merge pull request #18889 from ChayimFriedman2/subtle-completion
Veykril Jan 9, 2025
c26f175
Fix parsing cargo test json output by making stdout and optional field
Jan 9, 2025
78c377f
Add a new and improved syntax tree viewer
Giga-Bowser Dec 21, 2024
628db53
Remove the old syntax tree viewer
Giga-Bowser Jan 6, 2025
37b089d
Fix another issue with fixup reversing
ChayimFriedman2 Jan 9, 2025
56d06fb
Add an action to copy an element from the syntax tree view
Giga-Bowser Jan 7, 2025
c9f75a0
Do not compute `prettify_macro_expansion()` unless the "Inline macro"…
ChayimFriedman2 Jan 9, 2025
62a92b3
Remove two hir reexports
ChayimFriedman2 Jan 10, 2025
669d34d
Merge pull request #18899 from ChayimFriedman2/issue-18898
Veykril Jan 10, 2025
5adca85
Merge pull request #18813 from Giga-Bowser/syntax-tree-view
Veykril Jan 10, 2025
ab7f367
Merge pull request #18901 from ChayimFriedman2/hir-reexport
Veykril Jan 10, 2025
c4ffd32
internal: Add Definition::Crate
Veykril Jan 10, 2025
7821390
Merge pull request #18902 from Veykril/push-znlsxykqrkoo
Veykril Jan 10, 2025
65a97e6
Merge pull request #18900 from ChayimFriedman2/stupid-hang
Veykril Jan 10, 2025
9a9b069
Improve hover module path rendering
Veykril Jan 10, 2025
17a6f31
Implement implicit sized bound inlay hints
Veykril Jan 10, 2025
0a354a4
Merge pull request #18903 from Veykril/push-mqmworppxuyw
Veykril Jan 10, 2025
f513b27
Merge pull request #18904 from Veykril/push-yztnorquuyzw
Veykril Jan 10, 2025
a006eab
Re-implement rust string highlighting via tool attribute
Veykril Jan 10, 2025
337f2c9
Missing errors
jnyfah Jan 10, 2025
b0eb548
Merge pull request #18906 from Veykril/push-upuxsyovskmt
Veykril Jan 10, 2025
a40bbcf
Implement `#[rust_analyzer::skip]` for bodies
Veykril Jan 10, 2025
6d05207
Merge pull request #18907 from Veykril/push-uqlzpttmvurv
Veykril Jan 10, 2025
442c4ed
minor: Fix grammar in doc comments
Wilfred Jan 10, 2025
f00e5ca
Merge pull request #18913 from Wilfred/grammar_fix
lnicola Jan 11, 2025
ab9779b
fix: Fix `ref` text edit for binding mode hints
Veykril Jan 12, 2025
139db0a
Merge pull request #18920 from Veykril/push-zxwtmooxumsl
Veykril Jan 12, 2025
b79da13
internal: Compute inlay hint text edits lazily
Veykril Jan 12, 2025
ed121ec
Fix text edits for discriminant hints
Veykril Jan 12, 2025
b1aa9fb
Merge pull request #18921 from Veykril/push-zwullmxomvsm
Veykril Jan 12, 2025
6766e66
internal: Compute inlay hint tooltips lazily
Veykril Jan 12, 2025
0f900e2
Merge pull request #18923 from Veykril/push-oovkowowotqx
Veykril Jan 12, 2025
70309b1
Fix another bug when reaching macro expansion limit caused a stack ov…
ChayimFriedman2 Jan 12, 2025
a10a921
feat: Add dereferencing autocomplete
boattime Jan 11, 2025
49b2257
Update `notify` to `8.0.0`
decahedron1 Jan 14, 2025
9792803
Add the ability to jump from `into` to `from` definitions
1hakusai1 Jan 14, 2025
d36b3a2
Merge pull request #18933 from decahedron1/notify-7
lnicola Jan 14, 2025
4267a3a
fix_typo
1hakusai1 Jan 14, 2025
4cc9c15
Remove trailing spaces
1hakusai1 Jan 14, 2025
1f5a88a
refactor: get(0) -> first()
1hakusai1 Jan 14, 2025
b470508
Hide syntax tree view by default
darichey Jan 14, 2025
d3f6969
Merge pull request #18937 from darichey/hide-syntax-tree-default
lnicola Jan 14, 2025
a12c80d
Merge pull request #18917 from boattime/master
Veykril Jan 15, 2025
eed2b5c
feat: Render type parameter projection target bounds in inlays
Veykril Jan 12, 2025
0ed9d1c
Merge pull request #18925 from Veykril/push-mtxxvpowwtrt
Veykril Jan 15, 2025
1ceea5b
Early exit in search properly
Veykril Jan 15, 2025
7be6698
Flip on typing config to be opt-in, better defaults
Veykril Jan 15, 2025
7db40dd
Add test cases
1hakusai1 Jan 15, 2025
f669b55
Use adjusted type
1hakusai1 Jan 15, 2025
f441bbf
Fix wrong fixture
1hakusai1 Jan 15, 2025
b56b4d6
fix: Fix semantics not always correctly caching file roots
Veykril Jan 15, 2025
97522d1
Merge pull request #18939 from Veykril/push-wztmylkyqttu
Veykril Jan 15, 2025
38e696f
Merge pull request #18929 from ChayimFriedman2/i-acknowledge-defeat
Veykril Jan 15, 2025
6bf1459
Merge pull request #18940 from Veykril/push-ulowqkpprslq
Veykril Jan 15, 2025
79f1471
fix: Don't return inlay hints outside requested range
Veykril Jan 12, 2025
805598d
Merge pull request #18922 from Veykril/push-tmtzukrsnott
Veykril Jan 15, 2025
88ae089
Merge pull request #18897 from duncanawoods/master
HKalbasi Jan 15, 2025
553d525
Add smart completions that skip `await` or `iter()` and `into_iter()`
ChayimFriedman2 Jan 12, 2025
20e3834
add a test for trait upcasting type mismatch
WaffleLapkin Jan 15, 2025
fea2526
update chalk
WaffleLapkin Jan 15, 2025
97a7d23
refactor: rename to descriptive name
1hakusai1 Jan 16, 2025
7f3601f
refactor: Change order of arguments
1hakusai1 Jan 16, 2025
36d705e
Use resolve_method_call_as_callable to handle function types
1hakusai1 Jan 16, 2025
b6ba392
add go-to-type-def actions for func params
lh123 Jan 16, 2025
fdc672e
add goto-to-def actions for trait bound
lh123 Jan 16, 2025
1c73899
Merge pull request #18944 from WaffleLapkin/trait_upcast_chalk
lnicola Jan 16, 2025
d6477b9
Merge pull request #18927 from ChayimFriedman2/skip-iter-await
Veykril Jan 16, 2025
8ec9094
Merge pull request #18946 from lh123/goto-to-type-def-func-param-and-…
Veykril Jan 16, 2025
c00dfed
Partially back out "fix: Fix sourceroot construction for virtual mani…
Veykril Jan 16, 2025
419bdb2
Merge pull request #18949 from Veykril/push-yzklntsnnuts
Veykril Jan 16, 2025
5a97637
Add missing `#[rust_analyzer::rust_fixture]` annotations
Veykril Jan 16, 2025
548d70f
Add edit test for await skipping completions
Veykril Jan 16, 2025
664cdd2
Minor docs improvement
Veykril Jan 16, 2025
4d5632b
Generalize some type walking in hover type actions
Veykril Jan 16, 2025
56059f8
Merge pull request #18950 from Veykril/push-okmsynnltxts
Veykril Jan 16, 2025
fa71da9
Merge pull request #18951 from Veykril/push-zpvunsvlpuxt
Veykril Jan 16, 2025
341a6d5
feat: complete raw, const keyword
lh123 Jan 16, 2025
39a1bb9
update blocklike
jnyfah Jan 16, 2025
824bad7
Fix `debug_assertions` broken in 1c5a125beb35725ccc2ade005db9870db734…
VinTarZ Jan 16, 2025
8d784be
Merge pull request #18953 from VinTarZ/master
lnicola Jan 16, 2025
1f32c2a
don't complete `raw` in `&mut $0`
lh123 Jan 16, 2025
715e457
revert blocklike changes
jnyfah Jan 16, 2025
99c7013
Merge pull request #18952 from lh123/add-raw-keyword-complete
Veykril Jan 16, 2025
05712c6
added tests
jnyfah Jan 16, 2025
474c73b
CRLF to LF
jnyfah Jan 16, 2025
ff5c32f
Merge pull request #18908 from jnyfah/error-braces
Veykril Jan 17, 2025
3ce55e9
add missing `Win32_Foundation` feature
gvozdvmozgu Jan 17, 2025
6c1b1a1
Merge pull request #18963 from gvozdvmozgu/Win32_Foundation
lnicola Jan 17, 2025
577a96a
Bump windows-sys
lnicola Jan 17, 2025
2406225
Update syntax tree viewer docs
Jan 16, 2025
b53b299
Extract variable assist triggers less eagerly
Veykril Jan 18, 2025
5f117b4
fix: `cargo rustc --print` needs `unstable-options`
Veykril Jan 18, 2025
013130c
Merge pull request #18968 from Veykril/push-szvltqqttsyy
Veykril Jan 18, 2025
b8eec1a
Merge pull request #18957 from markmurphydev/docs_vscode_syntax_tree
lnicola Jan 18, 2025
61af2cc
Merge pull request #18966 from lnicola/bump-windows-sys
lnicola Jan 18, 2025
06f6d8b
lsp-server: Drop outgoing messages on background thread
osiewicz Jan 18, 2025
31e8419
Fix a bug where enum variants were not considered properly in type ns…
ChayimFriedman2 Jan 19, 2025
b81474b
Preparing for merge from rust-lang/rust
lnicola Jan 20, 2025
4cf9f49
Merge from rust-lang/rust
lnicola Jan 20, 2025
3af5c08
Bump rustc crates
lnicola Jan 20, 2025
5f4f6fb
proc-macro-srv: make usage of RTLD_DEEPBIND portable
Fabian-Gruenbichler Jan 16, 2025
141e53b
Merge pull request #18980 from lnicola/sync-from-rust
lnicola Jan 20, 2025
618b913
Merge pull request #18981 from Fabian-Gruenbichler/proc-macro-srv-por…
lnicola Jan 20, 2025
55aee54
Use Semantics::resolve_method_call_as_callable to find implementation
1hakusai1 Jan 20, 2025
f7096db
Add a test case
1hakusai1 Jan 20, 2025
241fd2f
Properly record meaningful imports as re-exports in symbol index
Veykril Jan 18, 2025
70e93ed
Vec -> Box<[_]>
Veykril Jan 18, 2025
dbf7ccc
Preserve impl assoc names in ImplData
Veykril Jan 18, 2025
7ddeaba
Less allocs
Veykril Jan 18, 2025
4193abc
Fix import search not discarding rawness
Veykril Jan 20, 2025
64d4181
Merge pull request #18976 from ChayimFriedman2/non-module-generic-args
Veykril Jan 20, 2025
2233c31
Merge pull request #18972 from osiewicz/drop-outgoing-messages-on-bac…
Veykril Jan 20, 2025
5770977
Merge pull request #18982 from Veykril/push-lstmvzsowxyt
Veykril Jan 20, 2025
fe034ed
Merge pull request #18934 from 1hakusai1/goto_definition_from_into
Veykril Jan 20, 2025
1eb9d15
Merge pull request #18967 from Veykril/push-pwonkmwqmmol
Veykril Jan 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 55 additions & 47 deletions src/tools/rust-analyzer/Cargo.lock
Original file line number Diff line number Diff line change
@@ -98,9 +98,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"

[[package]]
name = "bitflags"
version = "2.6.0"
version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
checksum = "1be3f42a67d6d345ecd59f675f3f012d6974981560836e938c22b424b85ce1be"

[[package]]
name = "borsh"
@@ -194,9 +194,9 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"

[[package]]
name = "chalk-derive"
version = "0.98.0"
version = "0.99.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9426c8fd0fe61c3da880b801d3b510524df17843a8f9ec1f5b9cec24fb7412df"
checksum = "572583d9b97f9d277e5c7607f8239a30e2e04d3ed3b47c87d1cb2152ae724073"
dependencies = [
"proc-macro2",
"quote",
@@ -206,19 +206,19 @@ dependencies = [

[[package]]
name = "chalk-ir"
version = "0.98.0"
version = "0.99.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d5f2eb1cd6054da221bd1ac0197fb2fe5e2caf3dcb93619398fc1433f8f09093"
checksum = "e60e0ef9c81dce1336a9ed3c76f08775f5b623151d96d85ba45f7b10de76d1c7"
dependencies = [
"bitflags 2.6.0",
"bitflags 2.7.0",
"chalk-derive",
]

[[package]]
name = "chalk-recursive"
version = "0.98.0"
version = "0.99.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "129dc03458f71cfb9c3cd621c9c68166a94e87b85b16ccd29af015d7ff9a1c61"
checksum = "5a06350d614e22b03a69b8105e3541614450a7ea48bc58ecc6c6bd92731a3995"
dependencies = [
"chalk-derive",
"chalk-ir",
@@ -229,9 +229,9 @@ dependencies = [

[[package]]
name = "chalk-solve"
version = "0.98.0"
version = "0.99.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7e8a8c1e928f98cdf227b868416ef21dcd8cc3c61b347576d783713444d41c8"
checksum = "0e428761e9b55bee516bfe2457caed8b6d1b86353f92ae825bbe438a36ce91e8"
dependencies = [
"chalk-derive",
"chalk-ir",
@@ -523,6 +523,7 @@ dependencies = [
"hir-def",
"hir-expand",
"hir-ty",
"indexmap",
"intern",
"itertools",
"rustc-hash 2.0.0",
@@ -544,7 +545,7 @@ version = "0.0.0"
dependencies = [
"arrayvec",
"base-db",
"bitflags 2.6.0",
"bitflags 2.7.0",
"cfg",
"cov-mark",
"dashmap",
@@ -610,7 +611,7 @@ version = "0.0.0"
dependencies = [
"arrayvec",
"base-db",
"bitflags 2.6.0",
"bitflags 2.7.0",
"chalk-derive",
"chalk-ir",
"chalk-recursive",
@@ -734,7 +735,7 @@ version = "0.0.0"
dependencies = [
"arrayvec",
"base-db",
"bitflags 2.6.0",
"bitflags 2.7.0",
"cov-mark",
"crossbeam-channel",
"either",
@@ -820,11 +821,11 @@ dependencies = [

[[package]]
name = "inotify"
version = "0.9.6"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8069d3ec154eb856955c1c0fbffefbf5f3c40a104ec912d4797314c1801abff"
checksum = "f37dccff2791ab604f9babef0ba14fbe0be30bd368dc541e2b08d07c8aa908f3"
dependencies = [
"bitflags 1.3.2",
"bitflags 2.7.0",
"inotify-sys",
"libc",
]
@@ -908,9 +909,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"

[[package]]
name = "libc"
version = "0.2.155"
version = "0.2.169"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"

[[package]]
name = "libloading"
@@ -938,7 +939,7 @@ version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
dependencies = [
"bitflags 2.6.0",
"bitflags 2.7.0",
"libc",
"redox_syscall",
]
@@ -1117,14 +1118,14 @@ dependencies = [

[[package]]
name = "mio"
version = "0.8.11"
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c"
checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd"
dependencies = [
"libc",
"log",
"wasi",
"windows-sys 0.48.0",
"windows-sys 0.52.0",
]

[[package]]
@@ -1142,7 +1143,7 @@ version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4"
dependencies = [
"bitflags 2.6.0",
"bitflags 2.7.0",
"cfg-if",
"cfg_aliases 0.1.1",
"libc",
@@ -1156,23 +1157,29 @@ checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451"

[[package]]
name = "notify"
version = "6.1.1"
version = "8.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6205bd8bb1e454ad2e27422015fb5e4f2bcc7e08fa8f27058670d208324a4d2d"
checksum = "2fee8403b3d66ac7b26aee6e40a897d85dc5ce26f44da36b8b73e987cc52e943"
dependencies = [
"bitflags 2.6.0",
"crossbeam-channel",
"bitflags 2.7.0",
"filetime",
"fsevent-sys",
"inotify",
"kqueue",
"libc",
"log",
"mio",
"notify-types",
"walkdir",
"windows-sys 0.48.0",
"windows-sys 0.59.0",
]

[[package]]
name = "notify-types"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e0826a989adedc2a244799e823aece04662b66609d96af8dff7ac6df9a8925d"

[[package]]
name = "nu-ansi-term"
version = "0.50.1"
@@ -1371,6 +1378,7 @@ version = "0.0.0"
dependencies = [
"expect-test",
"intern",
"libc",
"libloading",
"memmap2",
"object 0.33.0",
@@ -1428,7 +1436,7 @@ dependencies = [
"libc",
"perf-event",
"tikv-jemalloc-ctl",
"windows-sys 0.52.0",
"windows-sys 0.59.0",
]

[[package]]
@@ -1482,7 +1490,7 @@ version = "0.9.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57206b407293d2bcd3af849ce869d52068623f19e1b5ff8e8778e3309439682b"
dependencies = [
"bitflags 2.6.0",
"bitflags 2.7.0",
"memchr",
"unicase",
]
@@ -1507,30 +1515,30 @@ dependencies = [

[[package]]
name = "ra-ap-rustc_abi"
version = "0.87.0"
version = "0.91.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28b782af0a7a8df16ddf43cd70da9f17bc3b1ce712c9e4992b6edb16f5f53632"
checksum = "d5246e9e1f450333a990877eabbc36fe0567e7cedd56d5365db319e14079cf2a"
dependencies = [
"bitflags 2.6.0",
"bitflags 2.7.0",
"ra-ap-rustc_index",
"tracing",
]

[[package]]
name = "ra-ap-rustc_index"
version = "0.87.0"
version = "0.91.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce5742f134960482f543b35ecebec3cacc6d79a9a685713518b4d8d70c5f9aa8"
checksum = "59fd8e4f5b34c434ec111efb0e0614954db048b9307d3b2e4cc3c915da9d2160"
dependencies = [
"ra-ap-rustc_index_macros",
"smallvec",
]

[[package]]
name = "ra-ap-rustc_index_macros"
version = "0.87.0"
version = "0.91.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7ea011fcf68309a8835ad01d91c032cb18444617b00e2cab21d45b208164441"
checksum = "2d34973fe081392bd1edb022e865e9952fcaa093f9cdae183edce64472e5e889"
dependencies = [
"proc-macro2",
"quote",
@@ -1539,29 +1547,29 @@ dependencies = [

[[package]]
name = "ra-ap-rustc_lexer"
version = "0.87.0"
version = "0.91.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eb76f0a4d4c20859e41f0a23bff0f37ab9ca9171c214a6c7dd72ea69434865dc"
checksum = "52fa42c582e21b35e8f61a5afe3c63a9c722d995826762eb19b18beeccf5157f"
dependencies = [
"unicode-properties",
"unicode-xid",
]

[[package]]
name = "ra-ap-rustc_parse_format"
version = "0.87.0"
version = "0.91.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06080bd35078305421a62da77f3c128482d8d44441b6da8ce9d146d1cd9cdb5b"
checksum = "740383328d7033393e5385f4a6073b880d5811b0fc0fd2559e481f905940f2f8"
dependencies = [
"ra-ap-rustc_index",
"ra-ap-rustc_lexer",
]

[[package]]
name = "ra-ap-rustc_pattern_analysis"
version = "0.87.0"
version = "0.91.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68a3154fe4c20c177d7b3c678a2d3a97aba0cca156ddef88959915041889daf0"
checksum = "c39f544728f32cebffb1a8b92ba3c1f3dcb4144081438d192137ed197d479a9d"
dependencies = [
"ra-ap-rustc_index",
"rustc-hash 2.0.0",
@@ -1626,7 +1634,7 @@ version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4"
dependencies = [
"bitflags 2.6.0",
"bitflags 2.7.0",
]

[[package]]
@@ -1713,7 +1721,7 @@ dependencies = [
"vfs",
"vfs-notify",
"walkdir",
"windows-sys 0.52.0",
"windows-sys 0.59.0",
"xflags",
"xshell",
]
@@ -1936,7 +1944,7 @@ dependencies = [
"jod-thread",
"libc",
"miow",
"windows-sys 0.52.0",
"windows-sys 0.59.0",
]

[[package]]
24 changes: 12 additions & 12 deletions src/tools/rust-analyzer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ exclude = ["crates/proc-macro-srv/proc-macro-test/imp"]
resolver = "2"

[workspace.package]
rust-version = "1.82"
rust-version = "1.83"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = ["rust-analyzer team"]
@@ -79,23 +79,23 @@ span = { path = "./crates/span", version = "0.0.0" }
stdx = { path = "./crates/stdx", version = "0.0.0" }
syntax = { path = "./crates/syntax", version = "0.0.0" }
syntax-bridge = { path = "./crates/syntax-bridge", version = "0.0.0" }
test-fixture = { path = "./crates/test-fixture", version = "0.0.0" }
test-utils = { path = "./crates/test-utils", version = "0.0.0" }
toolchain = { path = "./crates/toolchain", version = "0.0.0" }
tt = { path = "./crates/tt", version = "0.0.0" }
vfs-notify = { path = "./crates/vfs-notify", version = "0.0.0" }
vfs = { path = "./crates/vfs", version = "0.0.0" }
edition = { path = "./crates/edition", version = "0.0.0" }

ra-ap-rustc_lexer = { version = "0.87", default-features = false }
ra-ap-rustc_parse_format = { version = "0.87", default-features = false }
ra-ap-rustc_index = { version = "0.87", default-features = false }
ra-ap-rustc_abi = { version = "0.87", default-features = false }
ra-ap-rustc_pattern_analysis = { version = "0.87", default-features = false }
ra-ap-rustc_lexer = { version = "0.91", default-features = false }
ra-ap-rustc_parse_format = { version = "0.91", default-features = false }
ra-ap-rustc_index = { version = "0.91", default-features = false }
ra-ap-rustc_abi = { version = "0.91", default-features = false }
ra-ap-rustc_pattern_analysis = { version = "0.91", default-features = false }

# local crates that aren't published to crates.io. These should not have versions.
test-fixture = { path = "./crates/test-fixture" }

# In-tree crates that are published separately and follow semver. See lib/README.md
# in-tree crates that are published separately and follow semver. See lib/README.md
line-index = { version = "0.1.2" }
la-arena = { version = "0.3.1" }
lsp-server = { version = "0.7.6" }
@@ -106,10 +106,10 @@ arrayvec = "0.7.4"
bitflags = "2.4.1"
cargo_metadata = "0.18.1"
camino = "1.1.6"
chalk-solve = { version = "0.98.0", default-features = false }
chalk-ir = "0.98.0"
chalk-recursive = { version = "0.98.0", default-features = false }
chalk-derive = "0.98.0"
chalk-solve = { version = "0.99.0", default-features = false }
chalk-ir = "0.99.0"
chalk-recursive = { version = "0.99.0", default-features = false }
chalk-derive = "0.99.0"
crossbeam-channel = "0.5.8"
dissimilar = "1.0.7"
dot = "0.1.4"
2 changes: 1 addition & 1 deletion src/tools/rust-analyzer/crates/base-db/src/lib.rs
Original file line number Diff line number Diff line change
@@ -136,7 +136,7 @@ pub trait SourceRootDatabase: SourceDatabase {
#[ra_salsa::input]
fn source_root(&self, id: SourceRootId) -> Arc<SourceRoot>;

/// Crates whose root fool is in `id`.
/// Crates whose root file is in `id`.
fn source_root_crates(&self, id: SourceRootId) -> Arc<[CrateId]>;
}

3 changes: 2 additions & 1 deletion src/tools/rust-analyzer/crates/edition/src/lib.rs
Original file line number Diff line number Diff line change
@@ -5,7 +5,8 @@ use std::fmt;
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[repr(u8)]
pub enum Edition {
Edition2015,
// The syntax context stuff needs the discriminants to start from 0 and be consecutive.
Edition2015 = 0,
Edition2018,
Edition2021,
Edition2024,
Loading