rust/tests/ui/parser/unsized.stderr

9 lines
252 B
Plaintext
Raw Normal View History

error: expected `where`, `{`, `(`, or `;` after struct name, found keyword `for`
--> $DIR/unsized.rs:3:11
2018-10-20 20:36:17 +00:00
|
LL | struct S1 for type;
2018-10-20 20:36:17 +00:00
| ^^^ expected `where`, `{`, `(`, or `;` after struct name
error: aborting due to 1 previous error
2018-10-20 20:36:17 +00:00