Skip to content

Commit 94ce062

Browse files
committed
Auto merge of #18317 - lnicola:sync-from-rust, r=lnicola
minor: sync from downstream
2 parents dd4dac0 + 4f0038b commit 94ce062

File tree

4 files changed

+24
-18
lines changed

4 files changed

+24
-18
lines changed

Cargo.lock

+12-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
@@ -85,11 +85,11 @@ tt = { path = "./crates/tt", version = "0.0.0" }
8585
vfs-notify = { path = "./crates/vfs-notify", version = "0.0.0" }
8686
vfs = { path = "./crates/vfs", version = "0.0.0" }
8787

88-
ra-ap-rustc_lexer = { version = "0.68.0", default-features = false }
89-
ra-ap-rustc_parse_format = { version = "0.68.0", default-features = false }
90-
ra-ap-rustc_index = { version = "0.68.0", default-features = false }
91-
ra-ap-rustc_abi = { version = "0.68.0", default-features = false }
92-
ra-ap-rustc_pattern_analysis = { version = "0.68.0", default-features = false }
88+
ra-ap-rustc_lexer = { version = "0.71.0", default-features = false }
89+
ra-ap-rustc_parse_format = { version = "0.71.0", default-features = false }
90+
ra-ap-rustc_index = { version = "0.71.0", default-features = false }
91+
ra-ap-rustc_abi = { version = "0.71.0", default-features = false }
92+
ra-ap-rustc_pattern_analysis = { version = "0.71.0", default-features = false }
9393

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

crates/parser/src/lexed_str.rs

+6
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,12 @@ impl<'a> Converter<'a> {
187187
}
188188

189189
rustc_lexer::TokenKind::RawIdent => IDENT,
190+
191+
rustc_lexer::TokenKind::GuardedStrPrefix => {
192+
err = "Invalid string literal (reserved syntax)";
193+
ERROR
194+
},
195+
190196
rustc_lexer::TokenKind::Literal { kind, .. } => {
191197
self.extend_literal(token_text.len(), kind);
192198
return;

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cf24c73141a77db730f4b7fda69dcd7e8b113b51
1+
dd5127615ad626741a1116d022cf784637ac05df

0 commit comments

Comments
 (0)