diff options
| author | Michael Goulet <michael@errs.io> | 2024-06-13 20:56:28 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-09-06 10:32:48 -0400 |
| commit | afa24f0180e63dcac43b5c3cb112b59fe91384fa (patch) | |
| tree | f562918c52c06a6eee0ff7db1c16947e02496dbf /compiler/rustc_parse/src/lexer/mod.rs | |
| parent | 97910580aadab067ef13b5d0094a57e124c743ea (diff) | |
| download | rust-afa24f0180e63dcac43b5c3cb112b59fe91384fa.tar.gz rust-afa24f0180e63dcac43b5c3cb112b59fe91384fa.zip | |
Add some more tests
Diffstat (limited to 'compiler/rustc_parse/src/lexer/mod.rs')
| -rw-r--r-- | compiler/rustc_parse/src/lexer/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
