fork/rust

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

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

master
838 B27 linesraw
1error[E0603]: static `private` is private
2  --> $DIR/static-priv-by-default2.rs:15:30
3   |
4LL |     use child::childs_child::private;
5   |                              ^^^^^^^ private static
6   |
7note: the static `private` is defined here
8  --> $DIR/static-priv-by-default2.rs:7:9
9   |
10LL |         static private: isize = 0;
11   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error[E0603]: static `private` is private
14  --> $DIR/static-priv-by-default2.rs:23:33
15   |
16LL |     use static_priv_by_default::private;
17   |                                 ^^^^^^^ private static
18   |
19note: the static `private` is defined here
20  --> $DIR/auxiliary/static_priv_by_default.rs:3:1
21   |
22LL | static private: isize = 0;
23   | ^^^^^^^^^^^^^^^^^^^^^
24
25error: aborting due to 2 previous errors
26
27For more information about this error, try `rustc --explain E0603`.