From afa24f0180e63dcac43b5c3cb112b59fe91384fa Mon Sep 17 00:00:00 2001 From: Michael Goulet Date: Thu, 13 Jun 2024 20:56:28 -0400 Subject: Add some more tests --- compiler/rustc_parse/src/lexer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_parse/src') diff --git a/compiler/rustc_parse/src/lexer/mod.rs b/compiler/rustc_parse/src/lexer/mod.rs index a680e2a3bc2..b7232ff21ca 100644 --- a/compiler/rustc_parse/src/lexer/mod.rs +++ b/compiler/rustc_parse/src/lexer/mod.rs @@ -301,7 +301,7 @@ impl<'psess, 'src> StringReader<'psess, 'src> { token::Lifetime(sym, IdentIsRaw::Yes) } else { - // Otherwise, this is just `'r`. Warn about it though. + // Otherwise, this should be parsed like `'r`. Warn about it though. self.psess.buffer_lint( RUST_2021_PREFIXES_INCOMPATIBLE_SYNTAX, prefix_span, -- cgit 1.4.1-3-g733a5