mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-02 13:57:24 +00:00
14 lines
195 B
Rust
14 lines
195 B
Rust
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() {}
|