fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
469 B18 linesraw
1error[E0432]: unresolved import `bar::foo`
2  --> $DIR/privacy2.rs:17:9
3   |
4LL |     use bar::foo;
5   |         ^^^^^^^^ no `foo` in `bar`
6
7error[E0603]: function `foo` is private
8  --> $DIR/privacy2.rs:23:20
9   |
10LL |     use bar::glob::foo;
11   |                    ^^^
12
13error: requires `sized` lang_item
14
15error: aborting due to 3 previous errors
16
17Some errors have detailed explanations: E0432, E0603.
18For more information about an error, try `rustc --explain E0432`.