15 lines
207 B
Rust
15 lines
207 B
Rust
// run-rustfix
|
|
#![allow(dead_code)]
|
|
|
|
pub mod a {
|
|
pub use self::b::Trait;
|
|
mod b {
|
|
pub trait Trait {}
|
|
}
|
|
}
|
|
|
|
struct S;
|
|
impl a::b::Trait for S {} //~ ERROR module `b` is private
|
|
|
|
fn main() {}
|