Add snake case lint note about keyword identifiers which cannot be raw

This commit is contained in:
Skynoodle 2021-01-02 15:46:41 +00:00
parent 91f436b456
commit 750c52af73
2 changed files with 3 additions and 0 deletions

View file

@ -60,6 +60,8 @@ error: variable `Super` should have a snake case name
|
LL | let Super: usize = 0;
| ^^^^^ help: rename the identifier
|
= note: `super` cannot be used as a raw identifier
error: aborting due to 4 previous errors; 2 warnings emitted