summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/unsized.rs
blob: e7fd7a1961e0ac2491e9ba29cf20f2977dd6920e (plain)
1
2
3
4
5
6
7
// Test syntax checks for `type` keyword.

struct S1 for type;
//~^ ERROR expected `where`, `{`, `(`, or `;` after struct name, found keyword `for`

pub fn main() {
}