fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0624]: method `method` is private 2 --> $DIR/trait-method-private.rs:19:9 3 | 4LL | foo.method(); 5 | ^^^^^^ 6 | 7 = help: items from traits can only be used if the trait is in scope 8help: the following trait is implemented but not in scope; perhaps add a `use` for it: 9 | 10LL | use inner::Bar; 11 | 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0624`.