Skip to content

Commit 37355b3

Browse files
authored
Merge pull request #19126 from lnicola/sync-from-rust
minor: Sync from downstream
2 parents 35181e1 + 9a39996 commit 37355b3

File tree

7 files changed

+23
-20
lines changed

7 files changed

+23
-20
lines changed

Cargo.lock

+13-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+5-5
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.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 }
90+
ra-ap-rustc_lexer = { version = "0.94", default-features = false }
91+
ra-ap-rustc_parse_format = { version = "0.94", default-features = false }
92+
ra-ap-rustc_index = { version = "0.94", default-features = false }
93+
ra-ap-rustc_abi = { version = "0.94", default-features = false }
94+
ra-ap-rustc_pattern_analysis = { version = "0.94", default-features = false }
9595

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

crates/hir-def/src/expr_store/lower/asm.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ impl ExprCollector<'_> {
229229
};
230230
for piece in unverified_pieces {
231231
match piece {
232-
rustc_parse_format::Piece::String(_) => {}
232+
rustc_parse_format::Piece::Lit(_) => {}
233233
rustc_parse_format::Piece::NextArgument(arg) => {
234234
// let span = arg_spans.next();
235235

crates/hir-def/src/hir/format_args.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ pub(crate) fn parse(
287287

288288
for piece in pieces {
289289
match piece {
290-
parse::Piece::String(s) => {
290+
parse::Piece::Lit(s) => {
291291
unfinished_literal.push_str(s);
292292
}
293293
parse::Piece::NextArgument(arg) => {

crates/hir-def/src/lang_item.rs

+1
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ language_item_table! {
411411
PanicLocation, sym::panic_location, panic_location, Target::Struct, GenericRequirement::None;
412412
PanicImpl, sym::panic_impl, panic_impl, Target::Fn, GenericRequirement::None;
413413
PanicCannotUnwind, sym::panic_cannot_unwind, panic_cannot_unwind, Target::Fn, GenericRequirement::Exact(0);
414+
PanicNullPointerDereference, sym::panic_null_pointer_dereference, panic_null_pointer_dereference, Target::Fn, GenericRequirement::None;
414415
/// libstd panic entry point. Necessary for const eval to be able to catch it
415416
BeginPanic, sym::begin_panic, begin_panic_fn, Target::Fn, GenericRequirement::None;
416417

crates/intern/src/symbol/symbols.rs

+1
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ define_symbols! {
364364
panic_location,
365365
panic_misaligned_pointer_dereference,
366366
panic_nounwind,
367+
panic_null_pointer_dereference,
367368
panic,
368369
Param,
369370
parse,

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9a1d156f38c51441ee51e5a068f1d0caf4bb0f27
1+
d9a4a47b8b3dc0bdff83360cea2013200d60d49c

0 commit comments

Comments
 (0)