error[E0603]: constant `PRIVATE` is private --> $DIR/E0603.rs:16:5 | LL | SomeModule::PRIVATE; //~ ERROR E0603 | ^^^^^^^^^^^^^^^^^^^ error: aborting due to previous error If you want more information on this error, try using "rustc --explain E0603"