summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/item-needs-block.stderr
blob: 3cabd0c73a3c93918d4089395ebcb41fd33e9334 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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