summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/impl-item-const-semantic-fail.stderr
blob: ec3bee0ce682485c23d66e4a56136a8ae57f8926 (plain)
1
2
3
4
5
6
7
8
9
10
error: associated constant in `impl` without body
  --> $DIR/impl-item-const-semantic-fail.rs:6:5
   |
LL |     const Y: u8;
   |     ^^^^^^^^^^^-
   |                |
   |                help: provide a definition for the constant: `= <expr>;`

error: aborting due to previous error