summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/impl-item-fn-no-body-semantic-fail.stderr
blob: 1acb727368bce2513b836228dd9f953d62dd47ba (plain)
1
2
3
4
5
6
7
8
9
10
error: associated function in `impl` without body
  --> $DIR/impl-item-fn-no-body-semantic-fail.rs:6:5
   |
LL |     fn f();
   |     ^^^^^^-
   |           |
   |           help: provide a definition for the function: `{ <body> }`

error: aborting due to previous error