]> git.lizzy.rs Git - rust.git/blob - src/test/ui/static/static-priv-by-default2.stderr
Rollup merge of #106064 - lukas-code:outlives-macro, r=cjgillot
[rust.git] / src / test / ui / static / static-priv-by-default2.stderr
1 error[E0603]: static `private` is private
2   --> $DIR/static-priv-by-default2.rs:15:30
3    |
4 LL |     use child::childs_child::private;
5    |                              ^^^^^^^ private static
6    |
7 note: the static `private` is defined here
8   --> $DIR/static-priv-by-default2.rs:7:9
9    |
10 LL |         static private: isize = 0;
11    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error[E0603]: static `private` is private
14   --> $DIR/static-priv-by-default2.rs:23:33
15    |
16 LL |     use static_priv_by_default::private;
17    |                                 ^^^^^^^ private static
18    |
19 note: the static `private` is defined here
20   --> $DIR/auxiliary/static_priv_by_default.rs:3:1
21    |
22 LL | static private: isize = 0;
23    | ^^^^^^^^^^^^^^^^^^^^^
24
25 error: aborting due to 2 previous errors
26
27 For more information about this error, try `rustc --explain E0603`.