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