rust/src/test/ui/error-codes/E0404.stderr

10 lines
283 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0404]: expected trait, found struct `Foo`
--> $DIR/E0404.rs:14:6
|
2018-02-22 18:42:32 -06:00
LL | impl Foo for Bar {} //~ ERROR E0404
2018-02-07 21:35:35 -06:00
| ^^^ not a trait
error: cannot continue compilation due to previous error
2018-02-19 14:40:25 -06:00
If you want more information on this error, try using "rustc --explain E0404"