Skip to content

Commit 9e54aa7

Browse files
committed
Auto merge of #119542 - lnicola:sync-from-ra2, r=lnicola
Subtree update of `rust-analyzer` r? ghost
2 parents 09a54d5 + fd2a7e6 commit 9e54aa7

File tree

240 files changed

+6914
-3073
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

240 files changed

+6914
-3073
lines changed

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xtask = "run --package xtask --bin xtask --"
33
tq = "test -- -q"
44
qt = "tq"
5-
lint = "clippy --all-targets -- -Aclippy::collapsible_if -Aclippy::needless_pass_by_value -Aclippy::nonminimal_bool -Aclippy::redundant_pattern_matching --cap-lints warn"
5+
lint = "clippy --all-targets -- --cap-lints warn"
66

77
[target.x86_64-pc-windows-msvc]
88
linker = "rust-lld"

.github/workflows/ci.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ jobs:
3838
- 'crates/proc-macro-api/**'
3939
- 'crates/proc-macro-srv/**'
4040
- 'crates/proc-macro-srv-cli/**'
41-
- 'crates/proc-macro-test/**'
4241
4342
rust:
4443
needs: changes

Cargo.lock

Lines changed: 55 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[workspace]
22
members = ["xtask/", "lib/*", "crates/*"]
3-
exclude = ["crates/proc-macro-test/imp"]
3+
exclude = ["crates/proc-macro-srv/proc-macro-test/"]
44
resolver = "2"
55

66
[workspace.package]
7-
rust-version = "1.70"
7+
rust-version = "1.74"
88
edition = "2021"
99
license = "MIT OR Apache-2.0"
1010
authors = ["rust-analyzer team"]
@@ -70,10 +70,9 @@ proc-macro-srv = { path = "./crates/proc-macro-srv", version = "0.0.0" }
7070
proc-macro-srv-cli = { path = "./crates/proc-macro-srv-cli", version = "0.0.0" }
7171
profile = { path = "./crates/profile", version = "0.0.0" }
7272
project-model = { path = "./crates/project-model", version = "0.0.0" }
73-
sourcegen = { path = "./crates/sourcegen", version = "0.0.0" }
73+
span = { path = "./crates/span", version = "0.0.0" }
7474
stdx = { path = "./crates/stdx", version = "0.0.0" }
7575
syntax = { path = "./crates/syntax", version = "0.0.0" }
76-
test-utils = { path = "./crates/test-utils", version = "0.0.0" }
7776
text-edit = { path = "./crates/text-edit", version = "0.0.0" }
7877
toolchain = { path = "./crates/toolchain", version = "0.0.0" }
7978
tt = { path = "./crates/tt", version = "0.0.0" }
@@ -82,19 +81,25 @@ vfs = { path = "./crates/vfs", version = "0.0.0" }
8281
rustc-dependencies = { path = "./crates/rustc-dependencies", version = "0.0.0" }
8382

8483
# local crates that aren't published to crates.io. These should not have versions.
85-
proc-macro-test = { path = "./crates/proc-macro-test" }
84+
sourcegen = { path = "./crates/sourcegen" }
85+
test-fixture = { path = "./crates/test-fixture" }
86+
test-utils = { path = "./crates/test-utils" }
8687

8788
# In-tree crates that are published separately and follow semver. See lib/README.md
8889
line-index = { version = "0.1.1" }
8990
la-arena = { version = "0.3.1" }
90-
lsp-server = { version = "0.7.4" }
91+
lsp-server = { version = "0.7.6" }
9192

9293
# non-local crates
9394
anyhow = "1.0.75"
95+
arrayvec = "0.7.4"
9496
bitflags = "2.4.1"
9597
cargo_metadata = "0.18.1"
98+
command-group = "2.0.1"
99+
crossbeam-channel = "0.5.8"
96100
dissimilar = "1.0.7"
97101
either = "1.9.0"
102+
expect-test = "1.4.0"
98103
hashbrown = { version = "0.14", features = [
99104
"inline-more",
100105
], default-features = false }
@@ -105,6 +110,7 @@ nohash-hasher = "0.2.0"
105110
rayon = "1.8.0"
106111
rust-analyzer-salsa = "0.17.0-pre.4"
107112
rustc-hash = "1.1.0"
113+
semver = "1.0.14"
108114
serde = { version = "1.0.192", features = ["derive"] }
109115
serde_json = "1.0.108"
110116
smallvec = { version = "1.10.0", features = [
@@ -124,5 +130,12 @@ tracing-subscriber = { version = "0.3.18", default-features = false, features =
124130
triomphe = { version = "0.1.10", default-features = false, features = ["std"] }
125131
xshell = "0.2.5"
126132

133+
127134
# We need to freeze the version of the crate, as the raw-api feature is considered unstable
128135
dashmap = { version = "=5.5.3", features = ["raw-api"] }
136+
137+
[workspace.lints.clippy]
138+
collapsible_if = "allow"
139+
needless_pass_by_value = "allow"
140+
nonminimal_bool = "allow"
141+
redundant_pattern_matching = "allow"

crates/base-db/Cargo.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@ la-arena.workspace = true
1616
rust-analyzer-salsa.workspace = true
1717
rustc-hash.workspace = true
1818
triomphe.workspace = true
19+
semver.workspace = true
1920

2021
# local deps
2122
cfg.workspace = true
2223
profile.workspace = true
2324
stdx.workspace = true
2425
syntax.workspace = true
25-
test-utils.workspace = true
26-
tt.workspace = true
2726
vfs.workspace = true
27+
span.workspace = true
28+
29+
[lints]
30+
workspace = true

0 commit comments

Comments
 (0)