mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-20 12:35:11 +00:00
19 lines
304 B
Plaintext
19 lines
304 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 previous error
|
|
|