Skip to content

Commit 957cd15

Browse files
authored
Rollup merge of #135775 - lnicola:sync-from-ra, r=lnicola
Subtree update of `rust-analyzer` r? ``@ghost``
2 parents 818b081 + 93a5846 commit 957cd15

File tree

286 files changed

+9088
-2920
lines changed

Some content is hidden

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

286 files changed

+9088
-2920
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exclude = ["crates/proc-macro-srv/proc-macro-test/imp"]
44
resolver = "2"
55

66
[workspace.package]
7-
rust-version = "1.82"
7+
rust-version = "1.83"
88
edition = "2021"
99
license = "MIT OR Apache-2.0"
1010
authors = ["rust-analyzer team"]
@@ -79,23 +79,23 @@ span = { path = "./crates/span", version = "0.0.0" }
7979
stdx = { path = "./crates/stdx", version = "0.0.0" }
8080
syntax = { path = "./crates/syntax", version = "0.0.0" }
8181
syntax-bridge = { path = "./crates/syntax-bridge", version = "0.0.0" }
82+
test-fixture = { path = "./crates/test-fixture", version = "0.0.0" }
8283
test-utils = { path = "./crates/test-utils", version = "0.0.0" }
8384
toolchain = { path = "./crates/toolchain", version = "0.0.0" }
8485
tt = { path = "./crates/tt", version = "0.0.0" }
8586
vfs-notify = { path = "./crates/vfs-notify", version = "0.0.0" }
8687
vfs = { path = "./crates/vfs", version = "0.0.0" }
8788
edition = { path = "./crates/edition", version = "0.0.0" }
8889

89-
ra-ap-rustc_lexer = { version = "0.87", default-features = false }
90-
ra-ap-rustc_parse_format = { version = "0.87", default-features = false }
91-
ra-ap-rustc_index = { version = "0.87", default-features = false }
92-
ra-ap-rustc_abi = { version = "0.87", default-features = false }
93-
ra-ap-rustc_pattern_analysis = { version = "0.87", default-features = false }
90+
ra-ap-rustc_lexer = { version = "0.91", default-features = false }
91+
ra-ap-rustc_parse_format = { version = "0.91", default-features = false }
92+
ra-ap-rustc_index = { version = "0.91", default-features = false }
93+
ra-ap-rustc_abi = { version = "0.91", default-features = false }
94+
ra-ap-rustc_pattern_analysis = { version = "0.91", default-features = false }
9495

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

98-
# In-tree crates that are published separately and follow semver. See lib/README.md
98+
# in-tree crates that are published separately and follow semver. See lib/README.md
9999
line-index = { version = "0.1.2" }
100100
la-arena = { version = "0.3.1" }
101101
lsp-server = { version = "0.7.6" }
@@ -106,10 +106,10 @@ arrayvec = "0.7.4"
106106
bitflags = "2.4.1"
107107
cargo_metadata = "0.18.1"
108108
camino = "1.1.6"
109-
chalk-solve = { version = "0.98.0", default-features = false }
110-
chalk-ir = "0.98.0"
111-
chalk-recursive = { version = "0.98.0", default-features = false }
112-
chalk-derive = "0.98.0"
109+
chalk-solve = { version = "0.99.0", default-features = false }
110+
chalk-ir = "0.99.0"
111+
chalk-recursive = { version = "0.99.0", default-features = false }
112+
chalk-derive = "0.99.0"
113113
crossbeam-channel = "0.5.8"
114114
dissimilar = "1.0.7"
115115
dot = "0.1.4"

crates/base-db/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ pub trait SourceRootDatabase: SourceDatabase {
136136
#[ra_salsa::input]
137137
fn source_root(&self, id: SourceRootId) -> Arc<SourceRoot>;
138138

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

crates/edition/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ use std::fmt;
55
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
66
#[repr(u8)]
77
pub enum Edition {
8-
Edition2015,
8+
// The syntax context stuff needs the discriminants to start from 0 and be consecutive.
9+
Edition2015 = 0,
910
Edition2018,
1011
Edition2021,
1112
Edition2024,

0 commit comments

Comments
 (0)