2013-03-21 17:00:29 -05:00
|
|
|
trait I {}
|
2019-05-28 13:46:13 -05:00
|
|
|
type K = dyn I;
|
2016-11-30 16:35:25 -06:00
|
|
|
impl K for isize {} //~ ERROR expected trait, found type alias `K`
|
2016-07-31 15:11:38 -05:00
|
|
|
|
2016-08-22 00:57:10 -05:00
|
|
|
use ImportError; //~ ERROR unresolved import `ImportError` [E0432]
|
|
|
|
//~^ no `ImportError` in the root
|
2018-11-26 20:59:49 -06:00
|
|
|
impl ImportError for () {} // check that this is not an additional error (cf. issue #35142)
|
2016-07-31 15:11:38 -05:00
|
|
|
|
2013-03-21 17:00:29 -05:00
|
|
|
fn main() {}
|