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"
|