14 lines
183 B
Rust
14 lines
183 B
Rust
|
// run-rustfix
|
||
|
|
||
|
pub mod a {
|
||
|
pub use self::b::Trait;
|
||
|
mod b {
|
||
|
pub trait Trait {}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
struct S;
|
||
|
impl a::Trait for S {} //~ ERROR module `b` is private
|
||
|
|
||
|
fn main() {}
|