rust/tests/ui/parser/issues/issue-56031.stderr

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

19 lines
306 B
Plaintext
Raw Normal View History

error: missing trait in a trait impl
--> $DIR/issue-56031.rs:3:5
2019-03-04 19:00:28 -06:00
|
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 {}
2022-06-08 12:34:57 -05:00
|
2019-03-04 19:00:28 -06:00
error: aborting due to 1 previous error
2019-03-04 19:00:28 -06:00