mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
26 lines
497 B
Text
26 lines
497 B
Text
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
|
|
|