Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
0beba7c
fix: Fix incorrectly replacing references in macro invocation in "Con…
jinohkang-theori Nov 14, 2023
bf645be
Put copyright on a line by itself.
jonathanpallant Nov 22, 2023
11a70f6
also make 'core_intrinsics' internal
RalfJung Nov 22, 2023
5ef5e55
Use a u64 for the rmeta root position
saethlin Nov 27, 2023
76c972c
Rollup merge of #118123 - RalfJung:internal-lib-features, r=compiler-…
compiler-errors Dec 5, 2023
5f95765
fix: Fix fragment parser replacing matches with dummies on incomplete…
Veykril Dec 8, 2023
5285df4
remove redundant imports
surechen Nov 10, 2023
f9453e3
Apply suggestions from code review
saethlin Dec 11, 2023
f532576
Merge commit '457b966b171b09a7e57acb710fbca29a4b3526f0' into sync-fro…
lnicola Dec 11, 2023
71d98c5
Fix typo in cfg
lnicola Dec 11, 2023
be6d34b
Query for nearest parent block around the hint to resolve
SomeoneToIgnore Dec 11, 2023
8ae42b5
Search for parent blocks and items when resolving inlay hints
SomeoneToIgnore Dec 11, 2023
3aa6306
Auto merge of #16089 - SomeoneToIgnore:fix-parameter-inlay-hints-reso…
bors Dec 11, 2023
4e82988
Auto merge of #118344 - saethlin:rmeta-header-pos, r=WaffleLapkin
bors Dec 11, 2023
18591ae
Always render the path to be imported in the completion detail
Veykril Dec 11, 2023
801c0ea
Replace `doc_comments_and_attrs` with `collect_attrs`, 2nd round
HKalbasi Dec 11, 2023
8c3e28e
Auto merge of #16094 - HKalbasi:rustc-tests-fixup, r=HKalbasi
bors Dec 11, 2023
a254cc5
Rollup merge of #118445 - ferrocene:jp-support-reuse-in-submodules, r…
matthiaskrgr Dec 12, 2023
be035e8
Auto merge of #118817 - lnicola:sync-from-ra, r=lnicola
bors Dec 12, 2023
df7b428
Merge branch 'master' into sync-from-rust
lnicola Dec 12, 2023
54acf87
Fix formatting
lnicola Dec 12, 2023
13d4609
Merge remote-tracking branch 'upstream/master' into sync-from-rust
lnicola Dec 12, 2023
e004a5d
Auto merge of #16098 - lnicola:sync-from-rust, r=lnicola
bors Dec 12, 2023
34ec665
Simplify and improve perf of import_assets::import_for_item
Veykril Dec 12, 2023
1604ad1
Bump DEFAULT_QUERY_SEARCH_LIMIT from 40 to 100
Veykril Dec 12, 2023
d4accf8
Auto merge of #16099 - Veykril:flyimport, r=Veykril
bors Dec 12, 2023
ca995d7
fix: Fix `import_map::search_dependencies` getting confused by assoc …
Veykril Dec 12, 2023
dd42c14
Auto merge of #16101 - Veykril:search-depedencies-fix, r=Veykril
bors Dec 12, 2023
c30fd42
Publish line-index
lnicola Dec 12, 2023
785bccb
Auto merge of #16102 - lnicola:publish-libs, r=lnicola
bors Dec 12, 2023
3b23e9a
Bump line-index
lnicola Dec 12, 2023
98a8053
Auto merge of #16104 - lnicola:bump-line-index, r=lnicola
bors Dec 12, 2023
c209b5f
fix: Fix syntax bridge assigning invalid span to lifetime tokens
Veykril Dec 12, 2023
5d7453c
Auto merge of #16106 - Veykril:fix-lifetime-span-split, r=Veykril
bors Dec 12, 2023
7cc6b0f
Partially revert #16101
Veykril Dec 12, 2023
b3af191
Auto merge of #16107 - Veykril:rev-16101, r=Veykril
bors Dec 12, 2023
94af6c6
Auto merge of #16061 - Veykril:vec-completion, r=Veykril
bors Dec 13, 2023
6a40400
Update builtin attrs from rustc
HKalbasi Dec 13, 2023
f81bd0c
Auto merge of #16115 - HKalbasi:rustc-tests-fixup, r=lnicola
bors Dec 13, 2023
dd07f1f
Auto merge of #15887 - jinohkang-theori:fix/ide-assists/convert_tuple…
bors Dec 13, 2023
070cd4e
minor: Add messages to some asserts for better debugging
Veykril Dec 14, 2023
35e2f13
Auto merge of #16121 - Veykril:assert-messages, r=Veykril
bors Dec 14, 2023
9083017
Remove `ModuleId` from `TypeOwnerId`
Veykril Dec 14, 2023
7b9595a
Run rust-analyzer on rustc tests in metrics
HKalbasi Dec 14, 2023
96f6608
Auto merge of #16125 - HKalbasi:rustc-tests, r=HKalbasi
bors Dec 14, 2023
4c45d23
fix: Syntax fixup now removes subtrees with fake spans
Veykril Dec 15, 2023
34d572e
Auto merge of #16130 - Veykril:syntax-fixup, r=Veykril
bors Dec 15, 2023
a776419
Auto merge of #16123 - Veykril:simplify, r=Veykril
bors Dec 15, 2023
4f72216
Fix false positive type mismatch in const reference patterns
HKalbasi Dec 15, 2023
fa5a327
Use depth 1 in git clone
HKalbasi Dec 15, 2023
21b06c1
Auto merge of #16131 - HKalbasi:rustc-tests-fixup, r=HKalbasi
bors Dec 15, 2023
ebba9b3
Merge commit '21b06c1beb9bb59369ffd652f5d617bcf6952e05' into sync-fro…
lnicola Dec 18, 2023
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
115 changes: 52 additions & 63 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ dependencies = [
"autocfg",
"cfg-if",
"crossbeam-utils",
"memoffset 0.9.0",
"memoffset",
"scopeguard",
]

Expand All @@ -301,12 +301,12 @@ dependencies = [

[[package]]
name = "dashmap"
version = "5.4.0"
version = "5.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "907076dfda823b0b36d2a1bb5f90c96660a5bbcd7729e10727f07858f22c4edc"
checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856"
dependencies = [
"cfg-if",
"hashbrown 0.12.3",
"hashbrown",
"lock_api",
"once_cell",
"parking_lot_core",
Expand Down Expand Up @@ -448,15 +448,9 @@ checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e"

[[package]]
name = "hashbrown"
version = "0.12.3"
version = "0.14.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"

[[package]]
name = "hashbrown"
version = "0.14.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156"
checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"

[[package]]
name = "heck"
Expand Down Expand Up @@ -509,7 +503,7 @@ dependencies = [
"either",
"expect-test",
"fst",
"hashbrown 0.12.3",
"hashbrown",
"hir-expand",
"indexmap",
"intern",
Expand Down Expand Up @@ -539,7 +533,7 @@ dependencies = [
"cov-mark",
"either",
"expect-test",
"hashbrown 0.12.3",
"hashbrown",
"intern",
"itertools",
"la-arena 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
Expand Down Expand Up @@ -608,6 +602,7 @@ dependencies = [
name = "ide"
version = "0.0.0"
dependencies = [
"arrayvec",
"cfg",
"cov-mark",
"crossbeam-channel",
Expand Down Expand Up @@ -764,7 +759,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f"
dependencies = [
"equivalent",
"hashbrown 0.14.2",
"hashbrown",
]

[[package]]
Expand Down Expand Up @@ -792,7 +787,7 @@ name = "intern"
version = "0.0.0"
dependencies = [
"dashmap",
"hashbrown 0.12.3",
"hashbrown",
"rustc-hash",
"triomphe",
]
Expand Down Expand Up @@ -938,23 +933,23 @@ checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4"
[[package]]
name = "lsp-server"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b52dccdf3302eefab8c8a1273047f0a3c3dca4b527c8458d00c09484c8371928"
dependencies = [
"crossbeam-channel",
"ctrlc",
"log",
"lsp-types",
"serde",
"serde_json",
]

[[package]]
name = "lsp-server"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b52dccdf3302eefab8c8a1273047f0a3c3dca4b527c8458d00c09484c8371928"
version = "0.7.5"
dependencies = [
"crossbeam-channel",
"ctrlc",
"log",
"lsp-types",
"serde",
"serde_json",
]
Expand Down Expand Up @@ -1002,15 +997,6 @@ dependencies = [
"libc",
]

[[package]]
name = "memoffset"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1"
dependencies = [
"autocfg",
]

[[package]]
name = "memoffset"
version = "0.9.0"
Expand Down Expand Up @@ -1061,11 +1047,11 @@ dependencies = [

[[package]]
name = "miow"
version = "0.5.0"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "52ffbca2f655e33c08be35d87278e5b18b89550a37dbd598c20db92f6a471123"
checksum = "359f76430b20a79f9e20e115b3428614e654f04fab314482fc0fda0ebd3c6044"
dependencies = [
"windows-sys 0.42.0",
"windows-sys 0.48.0",
]

[[package]]
Expand Down Expand Up @@ -1177,15 +1163,15 @@ dependencies = [

[[package]]
name = "parking_lot_core"
version = "0.9.6"
version = "0.9.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba1ef8814b5c993410bb3adfad7a5ed269563e4a2f90c41f5d85be7fb47133bf"
checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e"
dependencies = [
"cfg-if",
"libc",
"redox_syscall 0.2.16",
"redox_syscall 0.4.1",
"smallvec",
"windows-sys 0.42.0",
"windows-targets",
]

[[package]]
Expand Down Expand Up @@ -1255,6 +1241,9 @@ checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"
name = "proc-macro-api"
version = "0.0.0"
dependencies = [
"base-db",
"indexmap",
"la-arena 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"memmap2",
"object 0.32.0",
"paths",
Expand All @@ -1263,6 +1252,7 @@ dependencies = [
"serde_json",
"snap",
"stdx",
"text-size",
"tracing",
"triomphe",
"tt",
Expand Down Expand Up @@ -1402,9 +1392,9 @@ dependencies = [

[[package]]
name = "ra-ap-rustc_abi"
version = "0.20.0"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5f38444d48da534b3bb612713fce9b0aeeffb2e0dfa242764f55482acc5b52d"
checksum = "7816f980fab89e878ff2e916e2077d484e3aa1c619a3cc982c8a417c3dfe45fa"
dependencies = [
"bitflags 1.3.2",
"ra-ap-rustc_index",
Expand All @@ -1413,9 +1403,9 @@ dependencies = [

[[package]]
name = "ra-ap-rustc_index"
version = "0.20.0"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69fb5da07e1a39222d9c311203123c3b6a86420fa06dc695aa1661b0aecf8d16"
checksum = "8352918d61aa4afab9f2ed7314cf638976b20949b3d61d2f468c975b0d251f24"
dependencies = [
"arrayvec",
"ra-ap-rustc_index_macros",
Expand All @@ -1424,9 +1414,9 @@ dependencies = [

[[package]]
name = "ra-ap-rustc_index_macros"
version = "0.20.0"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3d69f9f6af58124f2da0cb8b0c3d8494e0d883a5fe0c6732258bde81ac5a87cc"
checksum = "66a9424018828155a3e3596515598f90e68427d8f35eff6df7f0856c73fc58a8"
dependencies = [
"proc-macro2",
"quote",
Expand All @@ -1436,19 +1426,19 @@ dependencies = [

[[package]]
name = "ra-ap-rustc_lexer"
version = "0.20.0"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d5e8650195795c4023d8321846466994a975bc457cb8a91c0b3b17a5fc8ba40"
checksum = "dc741c7a78103efab416b562e35bd73c8d4967478575010c86c6062f8d3cbf29"
dependencies = [
"unicode-properties",
"unicode-xid",
]

[[package]]
name = "ra-ap-rustc_parse_format"
version = "0.20.0"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0a6b325ee1ec90e4dbd4394913adf4ef32e4fcf2b311ec9563a0fa50cd549af6"
checksum = "d557201d71792487bd2bab637ab5be9aa6fff59b88e25e12de180b0f9d2df60f"
dependencies = [
"ra-ap-rustc_index",
"ra-ap-rustc_lexer",
Expand Down Expand Up @@ -1476,31 +1466,31 @@ dependencies = [

[[package]]
name = "redox_syscall"
version = "0.2.16"
version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29"
dependencies = [
"bitflags 1.3.2",
]

[[package]]
name = "redox_syscall"
version = "0.3.5"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29"
checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa"
dependencies = [
"bitflags 1.3.2",
]

[[package]]
name = "rowan"
version = "0.15.11"
version = "0.15.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "64449cfef9483a475ed56ae30e2da5ee96448789fb2aa240a04beb6a055078bf"
checksum = "32a58fa8a7ccff2aec4f39cc45bf5f985cec7125ab271cf681c279fd00192b49"
dependencies = [
"countme",
"hashbrown 0.12.3",
"memoffset 0.8.0",
"hashbrown",
"memoffset",
"rustc-hash",
"text-size",
]
Expand All @@ -1524,16 +1514,14 @@ dependencies = [
"ide-ssr",
"itertools",
"load-cargo",
"lsp-server 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)",
"lsp-server 0.7.4",
"lsp-types",
"mbe",
"mimalloc",
"mio",
"nohash-hasher",
"num_cpus",
"oorandom",
"parking_lot",
"parking_lot_core",
"parser",
"proc-macro-api",
"profile",
Expand Down Expand Up @@ -1564,11 +1552,10 @@ dependencies = [

[[package]]
name = "rust-analyzer-salsa"
version = "0.17.0-pre.3"
version = "0.17.0-pre.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ca92b657d614d076800aa7bf5d5ba33564e71fa7f16cd79eacdfe301a50ab1c"
checksum = "16c42b8737c320578b441a82daf7cdf8d897468de64e8a774fa54b53a50b6cc0"
dependencies = [
"crossbeam-utils",
"indexmap",
"lock_api",
"log",
Expand All @@ -1581,9 +1568,9 @@ dependencies = [

[[package]]
name = "rust-analyzer-salsa-macros"
version = "0.17.0-pre.3"
version = "0.17.0-pre.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b190359266d293f2ee13eaa502a766dc8b77b63fbaa5d460d24fd0210675ceef"
checksum = "db72b0883f3592ade2be15a10583c75e0b269ec26e1190800fda2e2ce5ae6634"
dependencies = [
"heck",
"proc-macro2",
Expand Down Expand Up @@ -1751,6 +1738,7 @@ dependencies = [
"always-assert",
"backtrace",
"crossbeam-channel",
"itertools",
"jod-thread",
"libc",
"miow",
Expand Down Expand Up @@ -2010,6 +1998,7 @@ version = "0.0.0"
dependencies = [
"smol_str",
"stdx",
"text-size",
]

[[package]]
Expand Down
26 changes: 15 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ debug = 0

# ungrammar = { path = "../ungrammar" }

# salsa = { path = "../salsa" }
# rust-analyzer-salsa = { path = "../salsa" }

[workspace.dependencies]
# local crates
Expand Down Expand Up @@ -95,30 +95,34 @@ bitflags = "2.4.1"
cargo_metadata = "0.18.1"
dissimilar = "1.0.7"
either = "1.9.0"
hashbrown = { version = "0.14", features = [
"inline-more",
], default-features = false }
indexmap = "2.1.0"
itertools = "0.12.0"
libc = "0.2.150"
nohash-hasher = "0.2.0"
rayon = "1.8.0"
rust-analyzer-salsa = "0.17.0-pre.4"
rustc-hash = "1.1.0"
serde = { version = "1.0.192", features = ["derive"] }
serde_json = "1.0.108"
smallvec = { version = "1.10.0", features = [
"const_new",
"union",
"const_generics",
] }
smol_str = "0.2.0"
text-size = "1.1.1"
tracing = "0.1.40"
tracing-tree = "0.3.0"
tracing-subscriber = { version = "0.3.18", default-features = false, features = [
"registry",
"fmt",
"tracing-log",
] }
smol_str = "0.2.0"
nohash-hasher = "0.2.0"
text-size = "1.1.1"
rayon = "1.8.0"
serde = { version = "1.0.192", features = ["derive"] }
serde_json = "1.0.108"
triomphe = { version = "0.1.10", default-features = false, features = ["std"] }
# can't upgrade due to dashmap depending on 0.12.3 currently
hashbrown = { version = "0.12.3", features = [
"inline-more",
], default-features = false }
xshell = "0.2.5"

# We need to freeze the version of the crate, as the raw-api feature is considered unstable
dashmap = { version = "=5.5.3", features = ["raw-api"] }
Loading