blob: c00567a75b7a3b9aa0af28d746b5abe9de2b2011 (
plain)
1
2
3
4
5
6
7
8
9
|
trait I {}
type K = I;
impl K for isize {} //~ ERROR expected trait, found type alias `K`
use ImportError; //~ ERROR unresolved import `ImportError` [E0432]
//~^ no `ImportError` in the root
impl ImportError for () {} // check that this is not an additional error (cf. issue #35142)
fn main() {}
|