Skip to content

Commit 43d8618

Browse files
authored
Merge pull request #19989 from Veykril/push-xrqwoukkltnm
`cargo update` and `cargo upgrade`
2 parents 647705e + 05b7cdc commit 43d8618

File tree

20 files changed

+396
-294
lines changed

20 files changed

+396
-294
lines changed

src/tools/rust-analyzer/Cargo.lock

Lines changed: 330 additions & 242 deletions
Large diffs are not rendered by default.

src/tools/rust-analyzer/Cargo.toml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ vfs-notify = { path = "./crates/vfs-notify", version = "0.0.0" }
8787
vfs = { path = "./crates/vfs", version = "0.0.0" }
8888
edition = { path = "./crates/edition", version = "0.0.0" }
8989

90-
ra-ap-rustc_lexer = { version = "0.113", default-features = false }
91-
ra-ap-rustc_parse_format = { version = "0.113", default-features = false }
92-
ra-ap-rustc_index = { version = "0.113", default-features = false }
93-
ra-ap-rustc_abi = { version = "0.113", default-features = false }
94-
ra-ap-rustc_pattern_analysis = { version = "0.113", default-features = false }
90+
ra-ap-rustc_lexer = { version = "0.116", default-features = false }
91+
ra-ap-rustc_parse_format = { version = "0.116", default-features = false }
92+
ra-ap-rustc_index = { version = "0.116", default-features = false }
93+
ra-ap-rustc_abi = { version = "0.116", default-features = false }
94+
ra-ap-rustc_pattern_analysis = { version = "0.116", default-features = false }
9595

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

@@ -101,35 +101,35 @@ la-arena = { version = "0.3.1" }
101101
lsp-server = { version = "0.7.8" }
102102

103103
# non-local crates
104-
anyhow = "1.0.97"
104+
anyhow = "1.0.98"
105105
arrayvec = "0.7.6"
106-
bitflags = "2.9.0"
107-
cargo_metadata = "0.19.2"
108-
camino = "1.1.9"
109-
chalk-solve = { version = "0.102.0", default-features = false }
110-
chalk-ir = "0.102.0"
111-
chalk-recursive = { version = "0.102.0", default-features = false }
112-
chalk-derive = "0.102.0"
106+
bitflags = "2.9.1"
107+
cargo_metadata = "0.20.0"
108+
camino = "1.1.10"
109+
chalk-solve = { version = "0.103.0", default-features = false }
110+
chalk-ir = "0.103.0"
111+
chalk-recursive = { version = "0.103.0", default-features = false }
112+
chalk-derive = "0.103.0"
113113
crossbeam-channel = "0.5.15"
114114
dissimilar = "1.0.10"
115115
dot = "0.1.4"
116116
either = "1.15.0"
117117
expect-test = "1.5.1"
118-
indexmap = { version = "2.8.0", features = ["serde"] }
118+
indexmap = { version = "2.9.0", features = ["serde"] }
119119
itertools = "0.14.0"
120-
libc = "0.2.171"
121-
libloading = "0.8.6"
120+
libc = "0.2.172"
121+
libloading = "0.8.8"
122122
memmap2 = "0.9.5"
123123
nohash-hasher = "0.2.0"
124124
oorandom = "11.1.5"
125-
object = { version = "0.36.7", default-features = false, features = [
125+
object = { version = "0.37.1", default-features = false, features = [
126126
"std",
127127
"read_core",
128128
"elf",
129129
"macho",
130130
"pe",
131131
] }
132-
process-wrap = { version = "8.2.0", features = ["std"] }
132+
process-wrap = { version = "8.2.1", features = ["std"] }
133133
pulldown-cmark-to-cmark = "10.0.4"
134134
pulldown-cmark = { version = "0.9.6", default-features = false }
135135
rayon = "1.10.0"
@@ -141,8 +141,8 @@ serde = { version = "1.0.219" }
141141
serde_derive = { version = "1.0.219" }
142142
serde_json = "1.0.140"
143143
rustc-hash = "2.1.1"
144-
rustc-literal-escaper = "0.0.2"
145-
smallvec = { version = "1.14.0", features = [
144+
rustc-literal-escaper = "0.0.3"
145+
smallvec = { version = "1.15.1", features = [
146146
"const_new",
147147
"union",
148148
"const_generics",
@@ -166,7 +166,7 @@ xshell = "0.2.7"
166166
# We need to freeze the version of the crate, as the raw-api feature is considered unstable
167167
dashmap = { version = "=6.1.0", features = ["raw-api", "inline"] }
168168
# We need to freeze the version of the crate, as it needs to match with dashmap
169-
hashbrown = { version = "0.14.0", features = [
169+
hashbrown = { version = "0.14.*", features = [
170170
"inline-more",
171171
], default-features = false }
172172

src/tools/rust-analyzer/crates/hir-def/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ rustc-hash.workspace = true
2525
tracing.workspace = true
2626
smallvec.workspace = true
2727
triomphe.workspace = true
28-
rustc_apfloat = "0.2.2"
28+
rustc_apfloat = "0.2.3"
2929
text-size.workspace = true
3030
salsa.workspace = true
3131
salsa-macros.workspace = true

src/tools/rust-analyzer/crates/hir-def/src/lang_item.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ language_item_table! {
377377
AsyncFnMut, sym::async_fn_mut, async_fn_mut_trait, Target::Trait, GenericRequirement::Exact(1);
378378
AsyncFnOnce, sym::async_fn_once, async_fn_once_trait, Target::Trait, GenericRequirement::Exact(1);
379379

380+
AsyncFnOnceOutput, sym::async_fn_once_output,async_fn_once_output, Target::AssocTy, GenericRequirement::None;
380381
FnOnceOutput, sym::fn_once_output, fn_once_output, Target::AssocTy, GenericRequirement::None;
381382

382383
Future, sym::future_trait, future_trait, Target::Trait, GenericRequirement::Exact(0);

src/tools/rust-analyzer/crates/hir-ty/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ la-arena.workspace = true
3131
triomphe.workspace = true
3232
typed-arena = "2.0.2"
3333
indexmap.workspace = true
34-
rustc_apfloat = "0.2.2"
34+
rustc_apfloat = "0.2.3"
3535
query-group.workspace = true
3636
salsa.workspace = true
3737
salsa-macros.workspace = true

src/tools/rust-analyzer/crates/hir-ty/src/chalk_db.rs

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,20 @@ impl chalk_solve::RustIrDatabase<Interner> for ChalkContext<'_> {
261261
&self,
262262
well_known_trait: WellKnownTrait,
263263
) -> Option<chalk_ir::TraitId<Interner>> {
264-
let lang_attr = lang_item_from_well_known_trait(well_known_trait);
265-
let trait_ = lang_attr.resolve_trait(self.db, self.krate)?;
264+
let lang_item = lang_item_from_well_known_trait(well_known_trait);
265+
let trait_ = lang_item.resolve_trait(self.db, self.krate)?;
266266
Some(to_chalk_trait_id(trait_))
267267
}
268+
fn well_known_assoc_type_id(
269+
&self,
270+
assoc_type: rust_ir::WellKnownAssocType,
271+
) -> Option<chalk_ir::AssocTypeId<Interner>> {
272+
let lang_item = match assoc_type {
273+
rust_ir::WellKnownAssocType::AsyncFnOnceOutput => LangItem::AsyncFnOnceOutput,
274+
};
275+
let alias = lang_item.resolve_type_alias(self.db, self.krate)?;
276+
Some(to_assoc_type_id(alias))
277+
}
268278

269279
fn program_clauses_for_env(
270280
&self,

src/tools/rust-analyzer/crates/ide-db/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ either.workspace = true
2222
itertools.workspace = true
2323
arrayvec.workspace = true
2424
indexmap.workspace = true
25-
memchr = "2.7.4"
25+
memchr = "2.7.5"
2626
salsa.workspace = true
2727
salsa-macros.workspace = true
2828
query-group.workspace = true

src/tools/rust-analyzer/crates/ide/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dot.workspace = true
2525
smallvec.workspace = true
2626
triomphe.workspace = true
2727
nohash-hasher.workspace = true
28-
rustc_apfloat = "0.2.2"
28+
rustc_apfloat = "0.2.3"
2929

3030
# local deps
3131
cfg.workspace = true

src/tools/rust-analyzer/crates/intern/src/symbol/symbols.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ define_symbols! {
222222
fn_once_output,
223223
fn_once,
224224
async_fn_once,
225+
async_fn_once_output,
225226
async_fn_mut,
226227
async_fn,
227228
fn_ptr_addr,

src/tools/rust-analyzer/crates/proc-macro-srv/proc-macro-test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ license = "MIT OR Apache-2.0"
99
[lib]
1010

1111
[build-dependencies]
12-
cargo_metadata = "0.19.2"
12+
cargo_metadata = "0.20.0"

src/tools/rust-analyzer/crates/profile/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ rust-version.workspace = true
1212
[lib]
1313

1414
[dependencies]
15-
cfg-if = "1.0.0"
15+
cfg-if = "1.0.1"
1616
jemalloc-ctl = { version = "0.5.4", package = "tikv-jemalloc-ctl", optional = true }
1717

1818
[target.'cfg(all(target_os = "linux", not(target_env = "ohos")))'.dependencies]
@@ -22,7 +22,7 @@ perf-event = "=0.4.7"
2222
libc.workspace = true
2323

2424
[target.'cfg(windows)'.dependencies]
25-
windows-sys = { version = "0.59", features = [
25+
windows-sys = { version = "0.60", features = [
2626
"Win32_System_Threading",
2727
"Win32_System_ProcessStatus",
2828
] }

src/tools/rust-analyzer/crates/project-model/src/cargo_workspace.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ impl CargoWorkspace {
492492
is_virtual_workspace &= manifest != ws_manifest_path;
493493
let pkg = packages.alloc(PackageData {
494494
id: id.repr.clone(),
495-
name,
495+
name: name.to_string(),
496496
version,
497497
manifest: manifest.clone(),
498498
targets: Vec::new(),
@@ -547,10 +547,12 @@ impl CargoWorkspace {
547547
.flat_map(|dep| DepKind::iter(&dep.dep_kinds).map(move |kind| (dep, kind)));
548548
for (dep_node, kind) in dependencies {
549549
let &pkg = pkg_by_id.get(&dep_node.pkg).unwrap();
550-
let dep = PackageDependency { name: dep_node.name.clone(), pkg, kind };
550+
let dep = PackageDependency { name: dep_node.name.to_string(), pkg, kind };
551551
packages[source].dependencies.push(dep);
552552
}
553-
packages[source].active_features.extend(node.features);
553+
packages[source]
554+
.active_features
555+
.extend(node.features.into_iter().map(|it| it.to_string()));
554556
}
555557

556558
CargoWorkspace {

src/tools/rust-analyzer/crates/project-model/src/sysroot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ impl Sysroot {
339339
Some(_) => {
340340
tracing::warn!("unknown rustc-std-workspace-* crate: {}", package.name)
341341
}
342-
None => match &*package.name {
342+
None => match &**package.name {
343343
"core" => real_core = Some(package.id.clone()),
344344
"alloc" => real_alloc = Some(package.id.clone()),
345345
"std" => real_std = Some(package.id.clone()),

src/tools/rust-analyzer/crates/rust-analyzer/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,27 @@ indexmap.workspace = true
2929
itertools.workspace = true
3030
scip = "0.5.2"
3131
lsp-types = { version = "=0.95.0", features = ["proposed"] }
32-
parking_lot = "0.12.3"
32+
parking_lot = "0.12.4"
3333
xflags = "0.3.2"
3434
oorandom = "11.1.5"
3535
rayon.workspace = true
3636
rustc-hash.workspace = true
3737
serde_json = { workspace = true, features = ["preserve_order"] }
3838
serde.workspace = true
3939
serde_derive.workspace = true
40-
tenthash = "1.0.0"
41-
num_cpus = "1.16.0"
42-
mimalloc = { version = "0.1.44", default-features = false, optional = true }
40+
tenthash = "1.1.0"
41+
num_cpus = "1.17.0"
42+
mimalloc = { version = "0.1.46", default-features = false, optional = true }
4343
lsp-server.workspace = true
4444
tracing.workspace = true
4545
tracing-subscriber.workspace = true
4646
tracing-tree.workspace = true
4747
triomphe.workspace = true
48-
toml = "0.8.20"
48+
toml = "0.8.23"
4949
nohash-hasher.workspace = true
5050
walkdir = "2.5.0"
5151
semver.workspace = true
52-
memchr = "2.7.4"
52+
memchr = "2.7.5"
5353
cargo_metadata.workspace = true
5454
process-wrap.workspace = true
5555

@@ -75,7 +75,7 @@ vfs.workspace = true
7575
paths.workspace = true
7676

7777
[target.'cfg(windows)'.dependencies]
78-
windows-sys = { version = "0.59", features = [
78+
windows-sys = { version = "0.60", features = [
7979
"Win32_System_Diagnostics_Debug",
8080
"Win32_System_Threading",
8181
] }

src/tools/rust-analyzer/crates/stdx/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ rust-version.workspace = true
1212
[lib]
1313

1414
[dependencies]
15-
backtrace = { version = "0.3.74", optional = true }
15+
backtrace = { version = "0.3.75", optional = true }
1616
jod-thread = "1.0.0"
1717
crossbeam-channel.workspace = true
1818
itertools.workspace = true
@@ -25,7 +25,7 @@ libc.workspace = true
2525

2626
[target.'cfg(windows)'.dependencies]
2727
miow = "0.6.0"
28-
windows-sys = { version = "0.59", features = ["Win32_Foundation"] }
28+
windows-sys = { version = "0.60", features = ["Win32_Foundation"] }
2929

3030
[features]
3131
# Uncomment to enable for the whole crate graph

src/tools/rust-analyzer/crates/syntax/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ stdx.workspace = true
2727
[dev-dependencies]
2828
rayon.workspace = true
2929
expect-test = "1.5.1"
30-
rustc_apfloat = "0.2.2"
30+
rustc_apfloat = "0.2.3"
3131

3232
test-utils.workspace = true
3333

src/tools/rust-analyzer/lib/lsp-server/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ repository = "https://github.com/rust-lang/rust-analyzer/tree/master/lib/lsp-ser
77
edition = "2024"
88

99
[dependencies]
10-
log = "0.4.26"
10+
log = "0.4.27"
1111
serde_json = "1.0.140"
1212
serde = { version = "1.0.219" }
1313
serde_derive = { version = "1.0.219" }
1414
crossbeam-channel.workspace = true
1515

1616
[dev-dependencies]
1717
lsp-types = "=0.95"
18-
ctrlc = "3.4.5"
18+
ctrlc = "3.4.7"
1919

2020
[lints]
2121
workspace = true

src/tools/rust-analyzer/lib/lsp-server/src/msg.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,12 +283,12 @@ fn read_msg_text(inp: &mut dyn BufRead) -> io::Result<Option<String>> {
283283
buf.resize(size, 0);
284284
inp.read_exact(&mut buf)?;
285285
let buf = String::from_utf8(buf).map_err(invalid_data)?;
286-
log::debug!("< {}", buf);
286+
log::debug!("< {buf}");
287287
Ok(Some(buf))
288288
}
289289

290290
fn write_msg_text(out: &mut dyn Write, msg: &str) -> io::Result<()> {
291-
log::debug!("> {}", msg);
291+
log::debug!("> {msg}");
292292
write!(out, "Content-Length: {}\r\n\r\n", msg.len())?;
293293
out.write_all(msg.as_bytes())?;
294294
out.flush()?;

src/tools/rust-analyzer/lib/lsp-server/src/stdio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub(crate) fn stdio_transport() -> (Sender<Message>, Receiver<Message>, IoThread
3838
while let Some(msg) = Message::read(&mut stdin)? {
3939
let is_exit = matches!(&msg, Message::Notification(n) if n.is_exit());
4040

41-
debug!("sending message {:#?}", msg);
41+
debug!("sending message {msg:#?}");
4242
if let Err(e) = reader_sender.send(msg) {
4343
return Err(io::Error::other(e));
4444
}

src/tools/rust-analyzer/xtask/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ rust-version.workspace = true
99
[dependencies]
1010
anyhow.workspace = true
1111
directories = "6.0"
12-
flate2 = "1.1.0"
12+
flate2 = "1.1.2"
1313
write-json = "0.1.4"
1414
xshell.workspace = true
1515
xflags = "0.3.2"
1616
time = { version = "0.3", default-features = false }
17-
zip = { version = "3.0", default-features = false, features = ["deflate-flate2", "time"] }
17+
zip = { version = "4.0", default-features = false, features = ["deflate-flate2", "time"] }
1818
stdx.workspace = true
19-
proc-macro2 = "1.0.94"
19+
proc-macro2 = "1.0.95"
2020
quote = "1.0.40"
2121
ungrammar = "1.16.1"
2222
either.workspace = true

0 commit comments

Comments
 (0)