]> git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/issue-103748-ICE-wrong-braces.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / parser / issue-103748-ICE-wrong-braces.rs
1 #![crate_type = "lib"]
2
3 struct Apple((Apple, Option(Banana ? Citron)));
4 //~^ ERROR invalid `?` in type
5 //~| ERROR expected one of `)` or `,`, found `Citron`
6 //~| ERROR cannot find type `Citron` in this scope [E0412]
7 //~| ERROR parenthesized type parameters may only be used with a `Fn` trait [E0214]
8 //~| ERROR recursive type `Apple` has infinite size [E0072]