summary refs log tree commit diff
path: root/src/test/ui/issues/issue-36638.rs
blob: 1d006fbdee4b56cf4d5e610432eff086ce51325a (plain)
1
2
3
4
5
6
7
8
9
10
// compile-flags: -Z continue-parse-after-error

struct Foo<Self>(Self);
//~^ ERROR expected identifier, found keyword `Self`
//~^^ ERROR E0392

trait Bar<Self> {}
//~^ ERROR expected identifier, found keyword `Self`

fn main() {}