Add some more tests
This commit is contained in:
parent
97910580aa
commit
afa24f0180
11 changed files with 106 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue