Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
840cd38
Add ide-assist: remove else branches
A4-Tacks Jun 4, 2025
2969b0e
Fix extract multiple item in impl for extract_module
A4-Tacks Sep 2, 2025
4199024
Add ide-assist: flip_range_expr
A4-Tacks Sep 20, 2025
404f749
Fix shorthand field pat for destructure_tuple_binding
A4-Tacks Sep 20, 2025
5647e83
Add `doc = include_str!("…")` completion
A4-Tacks Sep 27, 2025
6390c89
Use FileId::MAX for id assertion in PathInterner::intern
Shourya742 Sep 27, 2025
f6eb4ea
Fix let-expr in lhs for convert_to_guarded_return
A4-Tacks Sep 30, 2025
26cf789
Add applicable on `else` for invert_if
A4-Tacks Oct 1, 2025
92eef53
Migrate inhabitedness checking to the new solver
ChayimFriedman2 Oct 12, 2025
5736f47
Migrate hir-ty body validation diagnostics to the next solver
ChayimFriedman2 Oct 12, 2025
4b247ba
Migrate unsafe checker to the new solver
ChayimFriedman2 Oct 12, 2025
aa711f6
Make `lookup_impl_method()` query transparent
ChayimFriedman2 Oct 12, 2025
2df61e0
Remove unneeded queries
ChayimFriedman2 Oct 12, 2025
bf531ac
minor: Fix creating `rust-analyzer/rust-analyzer`
ShoyuVanilla Oct 12, 2025
55b73e6
enable tt feature in crates/cfg tests
Elliot-Roberts Oct 12, 2025
f35b6df
Add lodash
michaelgruenewald Oct 7, 2025
145677f
Don't pretend to have a WorkspaceConfiguration if there isn't one
michaelgruenewald Oct 7, 2025
8ffdc2f
Allow other extensions to override the configuration
michaelgruenewald Oct 7, 2025
c53b566
Remember configuration overrides by extensions
michaelgruenewald Oct 9, 2025
6de1792
docs
michaelgruenewald Oct 13, 2025
e44c3c4
Don't override users' settings
michaelgruenewald Oct 13, 2025
38c4d80
Format fixes
michaelgruenewald Oct 13, 2025
562e089
Merge pull request #20835 from ShoyuVanilla/ra-ra
ChayimFriedman2 Oct 14, 2025
25ed1c5
Migrate `Display` impls to the next solver
ChayimFriedman2 Oct 14, 2025
a78b257
Merge pull request #20836 from Elliot-Roberts/cfg-require-tt
ChayimFriedman2 Oct 15, 2025
b2566ff
Migrate `add_braces` assist, because edit_in_place uses ted
A4-Tacks Oct 15, 2025
d41a190
Migrate `add_missing_match_arms` assist, because edit_in_place uses ted
A4-Tacks Oct 16, 2025
082ecd8
Merge pull request #20757 from Shourya742/force-fileid-invariant-to-i…
Veykril Oct 16, 2025
e9bba4f
Do not use `force-always-assert` in `xtask install` by default
ChayimFriedman2 Oct 16, 2025
4681505
refactor(parser): Push higher level content
epage Oct 16, 2025
223e141
test(parser): Show current frontmatter behavior
epage Oct 16, 2025
77d9b8e
feat(parser): Don't error on frontmatter
epage Oct 16, 2025
db6734e
Improve fixture support
ChayimFriedman2 Oct 16, 2025
9a2db55
Support underscore suffix parameter hide inlayHints
A4-Tacks Oct 17, 2025
090b47a
Merge pull request #20858 from A4-Tacks/inlay-suffix-underscore
ChayimFriedman2 Oct 17, 2025
7a15d6d
Merge pull request #20855 from ChayimFriedman2/improve-fixture2
davidbarsky Oct 17, 2025
d326377
Migrate `generate_single_field_struct_from` assist to use `SyntaxEditor`
A4-Tacks Oct 18, 2025
0aa39c4
fix: Run `cargo metadata` on sysroot with cwd=sysroot
ShoyuVanilla Oct 19, 2025
4182a95
fix: Report metadata errors for sysroot
ShoyuVanilla Oct 19, 2025
400896d
Merge pull request #20841 from ChayimFriedman2/to-ns
ShoyuVanilla Oct 19, 2025
e1a923a
Merge pull request #20852 from ChayimFriedman2/xtask-install-never
ShoyuVanilla Oct 19, 2025
b6c29e0
Merge pull request #20845 from A4-Tacks/migrate-add-braces
ShoyuVanilla Oct 19, 2025
7c871c2
Merge pull request #20860 from A4-Tacks/migrate-single-field-from
ShoyuVanilla Oct 19, 2025
6232ba8
Migrate variance to the new solver
ChayimFriedman2 Oct 17, 2025
369715b
Remove lint allows from new solver stuff
ChayimFriedman2 Oct 17, 2025
fd59d49
Merge pull request #20866 from ShoyuVanilla/metadata-err
ChayimFriedman2 Oct 19, 2025
2edfc82
Merge pull request #20867 from ChayimFriedman2/to-ns-almost-final
ShoyuVanilla Oct 20, 2025
2c48c39
Fix missing RestPat for convert_named_struct_to_tuple_struct
A4-Tacks Oct 20, 2025
9b0d532
Rip Chalk out of the codebase!
ChayimFriedman2 Oct 17, 2025
5057787
Merge pull request #20854 from epage/frontmatter
Veykril Oct 20, 2025
b526310
fix: Fix `signature_help` to proto conversion creating invalid utf16 …
Veykril Oct 20, 2025
d25a676
Merge pull request #20876 from rust-lang/push-lznzsmuxzsot
Veykril Oct 20, 2025
aae9712
Merge pull request #20873 from ChayimFriedman2/to-ns2
ChayimFriedman2 Oct 20, 2025
14c771a
Fix beta Clippy
ChayimFriedman2 Oct 20, 2025
b4873f2
Merge pull request #20878 from ChayimFriedman2/clippy-fix
ChayimFriedman2 Oct 20, 2025
37147c4
Add a FIXME for unordered fields
A4-Tacks Oct 21, 2025
e6656c1
Fix invalid RestPat for convert_tuple_struct_to_named_struct
A4-Tacks Oct 21, 2025
34af631
Merge pull request #20872 from A4-Tacks/conv-named-to-tuple-rest-pat
ShoyuVanilla Oct 21, 2025
d6573fd
Merge pull request #20880 from A4-Tacks/conv-tuple-to-named-rest-pat
ShoyuVanilla Oct 21, 2025
3643535
Merge pull request #20850 from A4-Tacks/add-mis-match-arms-indent
ShoyuVanilla Oct 21, 2025
ba61c29
Allow env vars set in cargo.extraEnv to be resolved by the env! macro
dpaoliello Aug 27, 2025
c084f04
Merge pull request #20554 from dpaoliello/extraenv
ChayimFriedman2 Oct 21, 2025
d76463c
Clear next-solver cache before reporting memory usage in analysis-stats
ChayimFriedman2 Oct 21, 2025
fe17c40
Merge pull request #20882 from ChayimFriedman2/accurate-mem-report
ChayimFriedman2 Oct 21, 2025
385bd28
Fix "cannot insert `true` or `false` to cfg" error in fixtures
ChayimFriedman2 Oct 22, 2025
f7a7ed8
Merge pull request #20771 from A4-Tacks/else-kw-invert-if
ChayimFriedman2 Oct 22, 2025
f04279b
Merge pull request #20755 from A4-Tacks/doc-include
ChayimFriedman2 Oct 22, 2025
911edbf
Add heuristic sensing `is_in_block`
A4-Tacks Sep 15, 2025
db2e268
Merge pull request #20670 from A4-Tacks/heuristic-newline-in-block-expr
ChayimFriedman2 Oct 22, 2025
6fe5553
Add shorthand field completion for record-expr
A4-Tacks Oct 11, 2025
70e3d8c
Add type keywords completions
A4-Tacks Aug 30, 2025
cef7df3
Merge pull request #20831 from A4-Tacks/record-expr-shorthand
ChayimFriedman2 Oct 22, 2025
1b94579
Merge pull request #20571 from A4-Tacks/type-kw-comp
ChayimFriedman2 Oct 22, 2025
922aad6
Improve parsing of missing name in MethodCallExpr
A4-Tacks Oct 22, 2025
7773fe0
Rewrite attribute handling
ChayimFriedman2 Jul 27, 2025
e3ece38
Merge pull request #20886 from A4-Tacks/parse-missing-method-name
Veykril Oct 22, 2025
659aa56
Merge pull request #20316 from ChayimFriedman2/better-attrs
ChayimFriedman2 Oct 22, 2025
2ae4ddb
Revert "internal: Rewrite attribute handling"
ChayimFriedman2 Oct 22, 2025
3cc95df
Merge pull request #20887 from rust-lang/revert-20316-better-attrs
ChayimFriedman2 Oct 22, 2025
40e36a0
Bump rustc deps
ShoyuVanilla Oct 21, 2025
9610f01
Port `CanonicalInstantiator` from rustc
ShoyuVanilla Oct 21, 2025
e13aab7
Merge pull request #20884 from ChayimFriedman2/fix-cfg-error
ShoyuVanilla Oct 23, 2025
3f8c212
Merge pull request #20888 from ShoyuVanilla/bump-rustc-deps
ChayimFriedman2 Oct 23, 2025
c00dfa3
Heuristic sensing parenthesis completion of fields
A4-Tacks Sep 18, 2025
68cb0a9
Added the "negation" semantic token
daladim Oct 23, 2025
1ef6888
Updated unit tests
daladim Oct 23, 2025
88e4ea5
Merge pull request #20891 from daladim/semantic_type_for_logical_not
ChayimFriedman2 Oct 23, 2025
03b8682
Fix some typos
A4-Tacks Oct 23, 2025
6e397d3
Merge pull request #20889 from A4-Tacks/heuristic-field-expr
ChayimFriedman2 Oct 23, 2025
c1ecea6
Implement `Interner::impl_specializes()`
ChayimFriedman2 Oct 23, 2025
0ab4418
Add applicable on assignment for add_braces
A4-Tacks Oct 15, 2025
7185158
Fix rustfmt for files that use 2024-edition syntax
krobelus Oct 23, 2025
617683f
Remove hir-ty/src/next_solver/mapping.rs
smmalis37 Oct 23, 2025
d6d007c
Merge pull request #20896 from smmalis37/delete-mapping
ChayimFriedman2 Oct 24, 2025
c859e76
Represent async blocks as `TyKind::Coroutine`, not as opaques
ChayimFriedman2 Oct 23, 2025
3a47c64
Lower async closures to `TyKind::CoroutineClosure`
ChayimFriedman2 Oct 23, 2025
2b5b7cc
Merge pull request #20844 from A4-Tacks/add-braces-assignment
ShoyuVanilla Oct 24, 2025
76b7c79
Support else completion for more expressions
A4-Tacks Sep 12, 2025
b12c794
Merge pull request #20893 from ChayimFriedman2/specialization-ns
ShoyuVanilla Oct 24, 2025
a1df998
Merge pull request #20658 from A4-Tacks/more-expr-else-after-if
ShoyuVanilla Oct 24, 2025
1a8055d
minor: fix track_caller for ide-complpetion test utils
A4-Tacks Oct 24, 2025
9b5b558
Merge pull request #20899 from A4-Tacks/ide-comp-test-track
ChayimFriedman2 Oct 24, 2025
6d22716
minor: Update ide-assist docs for add_braces
A4-Tacks Oct 24, 2025
52b62c8
Remove no-longer-necessary conversion
ChayimFriedman2 Oct 24, 2025
25561d2
Merge pull request #20904 from ChayimFriedman2/ns3
ChayimFriedman2 Oct 24, 2025
1796ced
Merge pull request #20903 from A4-Tacks/update-doc-add-braces
lnicola Oct 24, 2025
efeb398
Merge pull request #20895 from ChayimFriedman2/async-block-no-opaque
ShoyuVanilla Oct 24, 2025
1555750
fix: Fix a bug on inhabitedness checks for arrays
ShoyuVanilla Oct 24, 2025
f01c69f
Merge pull request #20902 from krobelus/support-rustfmt-again
ShoyuVanilla Oct 24, 2025
b37696d
Merge pull request #20905 from ShoyuVanilla/array-inhabit
ChayimFriedman2 Oct 24, 2025
4e3fe6d
Fix typo
lnicola Oct 24, 2025
439488e
Merge pull request #20907 from lnicola/fix-typo
lnicola Oct 24, 2025
72217cb
Bump dependencies to remove indirect dependencies on windows-sys 0.52…
dpaoliello Oct 24, 2025
b68d18a
Merge pull request #20908 from dpaoliello/windowssys
lnicola Oct 24, 2025
2ab3580
Use tracing error when received compiler message for unknown package
chenyukang Oct 25, 2025
e0fd574
Fix untyped syntax tree ans casts for convert_to_guarded_return
A4-Tacks Sep 27, 2025
3c3fcdf
Merge pull request #20911 from chenyukang/yukang-fix-never-panic
ShoyuVanilla Oct 25, 2025
5fda166
Fix not complete `let` before expr in condition
A4-Tacks Oct 25, 2025
ad63c71
Merge pull request #20759 from A4-Tacks/strongly-typed-conv-to-guarded
ChayimFriedman2 Oct 25, 2025
9c7db53
Merge pull request #20912 from A4-Tacks/left-side-in-cond
Veykril Oct 26, 2025
6c18a87
Merge pull request #20764 from A4-Tacks/fix-guarded-rhs-let-else
Veykril Oct 26, 2025
10066b3
Merge pull request #20705 from A4-Tacks/flip-range
Veykril Oct 26, 2025
dbfbe8f
Merge pull request #20712 from A4-Tacks/destruct-tuple-shorthand
Veykril Oct 26, 2025
64326b2
Merge pull request #20589 from A4-Tacks/extract-mod-not-in-impl
Veykril Oct 26, 2025
3145078
Merge pull request #19918 from A4-Tacks/remove-else-branches
Veykril Oct 26, 2025
95e2b84
Fix not applicable on let-chain for replace_is_method_with_if_let_method
A4-Tacks Oct 26, 2025
ce94044
Don't add cargo to requiresServerReloadOpts
michaelgruenewald Oct 26, 2025
165065a
Merge pull request #20837 from osdyne/extension-configuration
Veykril Oct 26, 2025
f62cb38
Merge pull request #20913 from A4-Tacks/if-let-chain-for-is-method-wi…
ShoyuVanilla Oct 26, 2025
85b7d64
Add regression tests for some fixed `A-ty` issues
ShoyuVanilla Oct 26, 2025
f7c1ad6
Merge pull request #20914 from ShoyuVanilla/next-solver-tests
ChayimFriedman2 Oct 26, 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
110 changes: 37 additions & 73 deletions src/tools/rust-analyzer/Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ name = "cfg"
version = "0.0.0"
dependencies = [
"arbitrary",
"cfg",
"expect-test",
"intern",
"oorandom",
Expand All @@ -257,28 +258,6 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"

[[package]]
name = "chalk-derive"
version = "0.104.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ea9b1e80910f66ae87c772247591432032ef3f6a67367ff17f8343db05beafa"
dependencies = [
"proc-macro2",
"quote",
"syn",
"synstructure",
]

[[package]]
name = "chalk-ir"
version = "0.104.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7047a516de16226cd17344d41a319d0ea1064bf9e60bd612ab341ab4a34bbfa8"
dependencies = [
"bitflags 2.9.4",
"chalk-derive",
]

[[package]]
name = "clap"
version = "4.5.48"
Expand Down Expand Up @@ -776,8 +755,6 @@ dependencies = [
"arrayvec",
"base-db",
"bitflags 2.9.4",
"chalk-derive",
"chalk-ir",
"cov-mark",
"either",
"ena",
Expand Down Expand Up @@ -819,11 +796,11 @@ dependencies = [

[[package]]
name = "home"
version = "0.5.11"
version = "0.5.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf"
checksum = "cc627f471c528ff0c4a49e1d5e60450c8f6461dd6d10ba9dcd3a61d3dff7728d"
dependencies = [
"windows-sys 0.59.0",
"windows-sys 0.61.0",
]

[[package]]
Expand Down Expand Up @@ -929,6 +906,7 @@ dependencies = [
"ide-diagnostics",
"ide-ssr",
"itertools",
"macros",
"nohash-hasher",
"oorandom",
"profile",
Expand Down Expand Up @@ -975,6 +953,7 @@ dependencies = [
"hir",
"ide-db",
"itertools",
"macros",
"smallvec",
"stdx",
"syntax",
Expand All @@ -999,6 +978,7 @@ dependencies = [
"indexmap",
"itertools",
"line-index 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"macros",
"memchr",
"nohash-hasher",
"parser",
Expand All @@ -1008,6 +988,7 @@ dependencies = [
"rustc-hash 2.1.1",
"salsa",
"salsa-macros",
"smallvec",
"span",
"stdx",
"syntax",
Expand Down Expand Up @@ -1404,14 +1385,14 @@ dependencies = [

[[package]]
name = "mio"
version = "1.0.4"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c"
checksum = "69d83b0086dc8ecf3ce9ae2874b2d1290252e2a30720bea58a5c6639b0092873"
dependencies = [
"libc",
"log",
"wasi",
"windows-sys 0.59.0",
"windows-sys 0.61.0",
]

[[package]]
Expand Down Expand Up @@ -1467,11 +1448,11 @@ checksum = "5e0826a989adedc2a244799e823aece04662b66609d96af8dff7ac6df9a8925d"

[[package]]
name = "nu-ansi-term"
version = "0.50.1"
version = "0.50.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d4a28e057d01f97e61255210fcff094d74ed0466038633e95017f5beb68e4399"
checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5"
dependencies = [
"windows-sys 0.52.0",
"windows-sys 0.60.2",
]

[[package]]
Expand Down Expand Up @@ -1578,6 +1559,7 @@ dependencies = [
"rustc-literal-escaper 0.0.4",
"stdx",
"tracing",
"winnow",
]

[[package]]
Expand Down Expand Up @@ -1842,9 +1824,9 @@ dependencies = [

[[package]]
name = "ra-ap-rustc_abi"
version = "0.133.0"
version = "0.137.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c063a7fef3c49d03837ee9a5d988aad83630c3460b03b32355c279d3fafa7d07"
checksum = "a4ce5c9ea794353e02beae390c4674f74ffb23a2ad9de763469fdcef5c1026ef"
dependencies = [
"bitflags 2.9.4",
"ra-ap-rustc_hashes",
Expand All @@ -1854,34 +1836,34 @@ dependencies = [

[[package]]
name = "ra-ap-rustc_ast_ir"
version = "0.133.0"
version = "0.137.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a210dbd77e794b33ff17d2d15750dee44eeabd1330685d69a6bad272d515892a"
checksum = "1696b77af9bbfe1fcc7a09c907561061c6ef4c8bd6d5f1675b927bc62d349103"

[[package]]
name = "ra-ap-rustc_hashes"
version = "0.133.0"
version = "0.137.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dea031ea45bb92cd346ed222b35c812e355f304183096ee91bb437b3813c6348"
checksum = "c055d8b0d8a592d8cf9547495189f52c1ee5c691d28df1628253a816214e8521"
dependencies = [
"rustc-stable-hash",
]

[[package]]
name = "ra-ap-rustc_index"
version = "0.133.0"
version = "0.137.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "db0114f842b20cba9beb2d9002ca31ae706b47f28ba2d6a49cbf9fd65fa72b9d"
checksum = "a08a03e3d4a452144b68f48130eda3a2894d4d79e99ddb44bdb4e0ab8c384e10"
dependencies = [
"ra-ap-rustc_index_macros",
"smallvec",
]

[[package]]
name = "ra-ap-rustc_index_macros"
version = "0.133.0"
version = "0.137.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc738a5bb06fb3893725fbeb3640ff1822bb2aae3f416c4a49f0a706ba89d1cc"
checksum = "a1e0446b4d65a8ce19d8fd12826c4bf2365ffa4b8fe0ee94daf5968fe36e920c"
dependencies = [
"proc-macro2",
"quote",
Expand All @@ -1890,9 +1872,9 @@ dependencies = [

[[package]]
name = "ra-ap-rustc_lexer"
version = "0.133.0"
version = "0.137.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "31c35b3d812cfc101d3f534640c13f24c0ec50ee2249685e4c20b2868609c9ee"
checksum = "ac80365383a3c749f38af567fdcfaeff3fa6ea5df3846852abbce73e943921b9"
dependencies = [
"memchr",
"unicode-properties",
Expand All @@ -1901,9 +1883,9 @@ dependencies = [

[[package]]
name = "ra-ap-rustc_next_trait_solver"
version = "0.133.0"
version = "0.137.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7b0fa6fb8e0717ebd0836f8de4a6efc954fca1a8652980fd2584dbe448c7d95"
checksum = "a39b419d2d6f7fdec7e0981b7fb7d5beb5dda7140064f1199704ec9dadbb6f73"
dependencies = [
"derive-where",
"ra-ap-rustc_index",
Expand All @@ -1914,19 +1896,19 @@ dependencies = [

[[package]]
name = "ra-ap-rustc_parse_format"
version = "0.133.0"
version = "0.137.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33d01bad23470cc749ef607476890aabcc8993ca3ef87d4241d0f6a08c6f9402"
checksum = "b743b0c8f795842e41b1720bbc5af6e896129fb9acf04e9785774bfb0dc5947c"
dependencies = [
"ra-ap-rustc_lexer",
"rustc-literal-escaper 0.0.5",
]

[[package]]
name = "ra-ap-rustc_pattern_analysis"
version = "0.133.0"
version = "0.137.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a181cf7943dc16e888046584d6172be95818811b25d695dbacbb4dd71973cc3"
checksum = "cf944dce80137195528f89a576f70153c2060a6f8ca49c3fa9f55f9da14ab937"
dependencies = [
"ra-ap-rustc_index",
"rustc-hash 2.1.1",
Expand All @@ -1937,9 +1919,9 @@ dependencies = [

[[package]]
name = "ra-ap-rustc_type_ir"
version = "0.133.0"
version = "0.137.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87c99f33be18d9e50cefef5442822da1f0b416e9a17a483879a9704e08a6a6e6"
checksum = "1bfe2722b20bc889a9d7711bd3a1f4f7b082940491241615aa643c17e0deffec"
dependencies = [
"arrayvec",
"bitflags 2.9.4",
Expand All @@ -1957,9 +1939,9 @@ dependencies = [

[[package]]
name = "ra-ap-rustc_type_ir_macros"
version = "0.133.0"
version = "0.137.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77b162d65e058abfc058e6b67ae68156cc282fbd78da148c1a7ec77b4230661e"
checksum = "6fad1527df26aaa77367393fae86f42818b33e02b3737a19f3846d1c7671e7f9"
dependencies = [
"proc-macro2",
"quote",
Expand Down Expand Up @@ -2991,24 +2973,6 @@ dependencies = [
"windows-link 0.1.3",
]

[[package]]
name = "windows-sys"
version = "0.52.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
dependencies = [
"windows-targets 0.52.6",
]

[[package]]
name = "windows-sys"
version = "0.59.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
dependencies = [
"windows-targets 0.52.6",
]

[[package]]
name = "windows-sys"
version = "0.60.2"
Expand Down
20 changes: 8 additions & 12 deletions src/tools/rust-analyzer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ debug = 2
[patch.'crates-io']
# rowan = { path = "../rowan" }

# chalk-ir = { path = "../chalk/chalk-ir" }
# chalk-derive = { path = "../chalk/chalk-derive" }
# line-index = { path = "lib/line-index" }
# la-arena = { path = "lib/la-arena" }
# lsp-server = { path = "lib/lsp-server" }
Expand Down Expand Up @@ -88,14 +86,14 @@ 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.133", default-features = false }
ra-ap-rustc_parse_format = { version = "0.133", default-features = false }
ra-ap-rustc_index = { version = "0.133", default-features = false }
ra-ap-rustc_abi = { version = "0.133", default-features = false }
ra-ap-rustc_pattern_analysis = { version = "0.133", default-features = false }
ra-ap-rustc_ast_ir = { version = "0.133", default-features = false }
ra-ap-rustc_type_ir = { version = "0.133", default-features = false }
ra-ap-rustc_next_trait_solver = { version = "0.133", default-features = false }
ra-ap-rustc_lexer = { version = "0.137", default-features = false }
ra-ap-rustc_parse_format = { version = "0.137", default-features = false }
ra-ap-rustc_index = { version = "0.137", default-features = false }
ra-ap-rustc_abi = { version = "0.137", default-features = false }
ra-ap-rustc_pattern_analysis = { version = "0.137", default-features = false }
ra-ap-rustc_ast_ir = { version = "0.137", default-features = false }
ra-ap-rustc_type_ir = { version = "0.137", default-features = false }
ra-ap-rustc_next_trait_solver = { version = "0.137", default-features = false }

# local crates that aren't published to crates.io. These should not have versions.

Expand All @@ -110,8 +108,6 @@ arrayvec = "0.7.6"
bitflags = "2.9.1"
cargo_metadata = "0.21.0"
camino = "1.1.10"
chalk-ir = "0.104.0"
chalk-derive = "0.104.0"
crossbeam-channel = "0.5.15"
dissimilar = "1.0.10"
dot = "0.1.4"
Expand Down
3 changes: 3 additions & 0 deletions src/tools/rust-analyzer/crates/cfg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@ arbitrary = { version = "1.4.1", features = ["derive"] }
syntax-bridge.workspace = true
syntax.workspace = true

# tt is needed for testing
cfg = { path = ".", default-features = false, features = ["tt"] }

[lints]
workspace = true
7 changes: 7 additions & 0 deletions src/tools/rust-analyzer/crates/cfg/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ impl CfgOptions {
pub fn shrink_to_fit(&mut self) {
self.enabled.shrink_to_fit();
}

pub fn append(&mut self, other: CfgOptions) {
// Do not call `insert_any_atom()`, as it'll check for `true` and `false`, but this is not
// needed since we already checked for that when constructing `other`. Furthermore, this
// will always err, as `other` inevitably contains `true` (just as we do).
self.enabled.extend(other.enabled);
}
}

impl Extend<CfgAtom> for CfgOptions {
Expand Down
2 changes: 0 additions & 2 deletions src/tools/rust-analyzer/crates/hir-ty/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ oorandom = "11.1.5"
tracing.workspace = true
rustc-hash.workspace = true
scoped-tls = "1.0.1"
chalk-ir.workspace = true
chalk-derive.workspace = true
la-arena.workspace = true
triomphe.workspace = true
typed-arena = "2.0.2"
Expand Down
Loading
Loading