rust/tests/ui/parser/misspelled-keywords/impl-trait-for.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
362 B
Plaintext
Raw Normal View History

2024-09-01 21:27:43 -05:00
error: expected one of `!`, `(`, `+`, `::`, `<`, `where`, or `{`, found `Human`
--> $DIR/impl-trait-for.rs:3:17
|
LL | impl Debug form Human {}
| ^^^^^ expected one of 7 possible tokens
|
help: there is a keyword `for` with a similar name
|
LL | impl Debug for Human {}
| ~~~
2024-09-01 21:27:43 -05:00
error: aborting due to 1 previous error