summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/suggest-removing-semicolon-after-impl-trait-items.stderr
blob: 396e0c130f11b1222c119932894530188f0de6c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: non-item in item list
  --> $DIR/suggest-removing-semicolon-after-impl-trait-items.rs:4:16
   |
LL | trait Foo {
   |           - item list starts here
LL |     fn bar() {};
   |                ^
   |                |
   |                non-item starts here
   |                help: consider removing this semicolon
LL | }
   | - item list ends here

error: aborting due to previous error