rust/tests/ui/error-codes/E0603.rs

8 lines
119 B
Rust

mod SomeModule {
const PRIVATE: u32 = 0x_a_bad_1dea_u32;
}
fn main() {
SomeModule::PRIVATE; //~ ERROR E0603
}