fork/rust

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

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

master
491 B17 linesraw
1error[E0603]: trait `Bar` is private
2  --> $DIR/privacy-ufcs.rs:12:20
3   |
4LL |     <i32 as ::foo::Bar>::baz();
5   |                    ^^^   --- associated function `baz` is not publicly re-exported
6   |                    |
7   |                    private trait
8   |
9note: the trait `Bar` is defined here
10  --> $DIR/privacy-ufcs.rs:4:5
11   |
12LL |     trait Bar {
13   |     ^^^^^^^^^
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0603`.