fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
431 B15 linesraw
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`.