1 // compile-flags: -Z continue-parse-after-error
5 //~^ ERROR expected identifier, found keyword `Self`
9 //~^ ERROR lifetimes cannot use keyword names
10 //~| ERROR parameter `'Self` is never used
17 //~^ ERROR expected identifier, found keyword `Self`
19 //~^ ERROR expected identifier, found keyword `Self`
21 //~^ ERROR expected identifier, found keyword `Self`
23 //~^ ERROR cannot find macro `Self!` in this scope
25 //~^ ERROR expected identifier, found keyword `Self`
30 extern crate core as Self;
31 //~^ ERROR expected identifier, found keyword `Self`
35 use std::option::Option as Self;
36 //~^ ERROR expected identifier, found keyword `Self`
41 //~^ ERROR expected identifier, found keyword `Self`