blob: 38b227f609b26dead539f9203f2d54df9ec771fc [file] [log] [blame]
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() {}