blob: 95cc1d92609cf28b5fc6b565fa4a91feaa514142 [file] [log] [blame] [edit]
//@ edition:2015
mod a {
pub trait Trait {}
}
mod b {
use Trait; //~ ERROR unresolved import `Trait`
}
mod c {
impl Trait for () {} //~ ERROR cannot find trait `Trait` in this scope
}
fn main() {}