mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
19 lines
310 B
Plaintext
19 lines
310 B
Plaintext
error: missing trait in a trait impl
|
|
--> $DIR/issue-88818.rs:5:5
|
|
|
|
|
LL | impl for S { }
|
|
| ^
|
|
|
|
|
help: add a trait here
|
|
|
|
|
LL | impl Trait for S { }
|
|
| +++++
|
|
help: for an inherent impl, drop this `for`
|
|
|
|
|
LL - impl for S { }
|
|
LL + impl S { }
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|