1 error: expected identifier, found keyword `Self`
2 --> $DIR/issue-36638.rs:13:12
4 LL | struct Foo<Self>(Self);
5 | ^^^^ expected identifier, found keyword
7 error: expected identifier, found keyword `Self`
8 --> $DIR/issue-36638.rs:16:11
10 LL | trait Bar<Self> {}
11 | ^^^^ expected identifier, found keyword
13 error: aborting due to 2 previous errors