]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-36638.rs
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-36638.rs
1 // compile-flags: -Z continue-parse-after-error
2
3 struct Foo<Self>(Self);
4 //~^ ERROR expected identifier, found keyword `Self`
5 //~^^ ERROR E0392
6
7 trait Bar<Self> {}
8 //~^ ERROR expected identifier, found keyword `Self`
9
10 fn main() {}