fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1// run-rustfix 2 3pub mod a { 4 pub use self::b::Trait; 5 mod b { 6 pub trait Trait {} 7 } 8} 9 10struct S; 11impl a::Trait for S {} //~ ERROR module `b` is private 12 13fn main() {}