Add some more tests

This commit is contained in:
Michael Goulet 2024-06-13 20:56:28 -04:00
parent 97910580aa
commit afa24f0180
11 changed files with 106 additions and 1 deletions

View file

@ -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,