summary refs log tree commit diff
path: root/src/test/ui/issues/issue-36638.rs
blob: 2e64853697a1bd450b9b6ab6ab3a2a55cdeed84c (plain)
1
2
3
4
5
6
7
8
struct Foo<Self>(Self);
//~^ ERROR expected identifier, found keyword `Self`
//~^^ ERROR E0392

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

fn main() {}