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