2016-07-13 17:53:42 -04:00
|
|
|
error[E0404]: `Bar` is not a trait
|
2016-08-16 16:52:30 +09:00
|
|
|
--> $DIR/two_files.rs:15:6
|
2016-07-13 17:53:42 -04:00
|
|
|
|
|
2016-08-16 16:52:30 +09:00
|
|
|
15 | impl Bar for Baz { }
|
2016-10-26 20:51:49 -07:00
|
|
|
| ^^^ expected trait, found type alias
|
2016-07-13 17:53:42 -04:00
|
|
|
|
|
2016-08-01 18:42:16 +00:00
|
|
|
= note: type aliases cannot be used for traits
|
2016-07-13 17:53:42 -04:00
|
|
|
|
|
|
|
error: cannot continue compilation due to previous error
|
|
|
|
|