fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
183 B13 linesraw
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() {}