rust/tests/ui/parser/item-needs-block.rs
2023-01-11 09:32:08 +00:00

11 lines
167 B
Rust

trait Trait;
//~^ ERROR expected `{}`, found `;`
impl Trait for ();
//~^ ERROR expected `{}`, found `;`
enum Enum;
//~^ ERROR expected `{}`, found `;`
fn main() {}