1 error: expected identifier, found keyword `Self`
2 --> $DIR/self_type_keyword.rs:14:10
5 | ^^^^ expected identifier, found keyword
7 error: expected identifier, found keyword `Self`
8 --> $DIR/self_type_keyword.rs:25:13
11 | ^^^^ expected identifier, found keyword
13 error: expected identifier, found keyword `Self`
14 --> $DIR/self_type_keyword.rs:27:13
17 | ^^^^ expected identifier, found keyword
19 error: expected identifier, found keyword `Self`
20 --> $DIR/self_type_keyword.rs:29:17
22 LL | ref mut Self => (),
23 | ^^^^ expected identifier, found keyword
25 error: expected identifier, found keyword `Self`
26 --> $DIR/self_type_keyword.rs:33:15
28 LL | Foo { Self } => (),
29 | ^^^^ expected identifier, found keyword
31 error: expected identifier, found keyword `Self`
32 --> $DIR/self_type_keyword.rs:39:26
34 LL | extern crate core as Self;
35 | ^^^^ expected identifier, found keyword
37 error: expected identifier, found keyword `Self`
38 --> $DIR/self_type_keyword.rs:44:32
40 LL | use std::option::Option as Self;
41 | ^^^^ expected identifier, found keyword
43 error: expected identifier, found keyword `Self`
44 --> $DIR/self_type_keyword.rs:49:11
47 | ^^^^ expected identifier, found keyword
49 error: lifetimes cannot use keyword names
50 --> $DIR/self_type_keyword.rs:18:12
52 LL | struct Bar<'Self>;
55 error: cannot find macro `Self!` in this scope
56 --> $DIR/self_type_keyword.rs:31:9
61 error: aborting due to 10 previous errors