rust/src/test/ui/resolve/issue-5035.stderr

18 lines
522 B
Plaintext
Raw Normal View History

error[E0432]: unresolved import `ImportError`
2017-11-20 06:13:27 -06:00
--> $DIR/issue-5035.rs:17:5
|
2017-11-20 06:13:27 -06:00
17 | use ImportError; //~ ERROR unresolved import `ImportError` [E0432]
| ^^^^^^^^^^^ no `ImportError` in the root
error[E0404]: expected trait, found type alias `K`
--> $DIR/issue-5035.rs:13:6
|
13 | impl K for isize {} //~ ERROR expected trait, found type alias `K`
| ^
| |
| did you mean `I`?
2017-07-05 11:58:22 -05:00
| type aliases cannot be used for traits
error: cannot continue compilation due to previous error