Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tokens.md: say that lifetime-like tokens can't be immediately followe…
…d by ' Forms like 'ab'c are rejected, so we need some way to explain why they don't tokenise as two consecutive LIFETIME_OR_LABEL tokens. Address this by adding "not immediately followed by `'`" to each of the lexer rules for the lifetime-like tokens. This also means there can be no ambiguity between CHAR_LITERAL and these tokens (at present we don't say how such ambiguities are resolved).
- Loading branch information