blob: a88c1c611d6e87ddc822993eb3d0445dfedf3a33 [file] [log] [blame]
#[macro_use]
extern crate lazy_static;
mod outer {
pub mod inner {
lazy_static! {
pub(in outer) static ref FOO: () = ();
}
}
}
fn main() {
assert_eq!(*outer::inner::FOO, ()); //~ ERROR static `FOO` is private
}