Merge pull request #4609 from sonwow/keyword-super
Make `super` a keyword
This commit is contained in:
commit
f3ec278e46
4 changed files with 10 additions and 7 deletions
3
src/test/compile-fail/keyword-super.rs
Normal file
3
src/test/compile-fail/keyword-super.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
let super: int; //~ ERROR found `super` in ident position
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue