rust/tests/ui/parser/issues/issue-56031.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

19 lines
306 B
Plaintext

error: missing trait in a trait impl
--> $DIR/issue-56031.rs:3:5
|
LL | impl for T {}
| ^
|
help: add a trait here
|
LL | impl Trait for T {}
| +++++
help: for an inherent impl, drop this `for`
|
LL - impl for T {}
LL + impl T {}
|
error: aborting due to 1 previous error