summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/item-needs-block.rs
blob: 4edac588eee9770fb265057b3c7b2a8430a06d99 (plain)
1
2
3
4
5
6
7
8
9
10
trait Trait;
//~^ ERROR expected `{}`, found `;`

impl Trait for ();
//~^ ERROR expected `{}`, found `;`

enum Enum;
//~^ ERROR expected `{}`, found `;`

fn main() {}