]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/item-needs-block.rs
Rollup merge of #106625 - Swatinem:ref/cov6, r=nagisa
[rust.git] / tests / ui / parser / item-needs-block.rs
1 trait Trait;
2 //~^ ERROR expected `{}`, found `;`
3
4 impl Trait for ();
5 //~^ ERROR expected `{}`, found `;`
6
7 enum Enum;
8 //~^ ERROR expected `{}`, found `;`
9
10 fn main() {}