debian/missing-sources/lazy_static/tests/compile_fail/static_is_private.stderr
raw| 1 | error[E0603]: static `FOO` is private |
| 2 | --> tests/compile_fail/static_is_private.rs:13:31 |
| 3 | | |
| 4 | 13 | assert_eq!(*outer::inner::FOO, ()); |
| 5 | | ^^^ private static |
| 6 | | |
| 7 | note: the static `FOO` is defined here |
| 8 | --> tests/compile_fail/static_is_private.rs:6:9 |
| 9 | | |
| 10 | 6 | / lazy_static! { |
| 11 | 7 | | pub(in outer) static ref FOO: () = (); |
| 12 | 8 | | } |
| 13 | | |_________^ |
| 14 | = note: this error originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) |