fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
472 B15 linesraw
1error[E0624]: associated function `method` is private
2  --> $DIR/trait-method-private.rs:19:9
3   |
4LL |     foo.method();
5   |         ^^^^^^ private associated function
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`.