mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
27 lines
497 B
Plaintext
27 lines
497 B
Plaintext
error: expected `{}`, found `;`
|
|
--> $DIR/item-needs-block.rs:1:12
|
|
|
|
|
LL | trait Trait;
|
|
| ^
|
|
|
|
|
= help: try using `{}` instead
|
|
|
|
error: expected `{}`, found `;`
|
|
--> $DIR/item-needs-block.rs:4:18
|
|
|
|
|
LL | impl Trait for ();
|
|
| ^
|
|
|
|
|
= help: try using `{}` instead
|
|
|
|
error: expected `{}`, found `;`
|
|
--> $DIR/item-needs-block.rs:7:10
|
|
|
|
|
LL | enum Enum;
|
|
| ^
|
|
|
|
|
= help: try using `{}` instead
|
|
|
|
error: aborting due to 3 previous errors
|
|
|