rust/tests/ui/error-codes/E0603.rs
2023-01-11 09:32:08 +00:00

8 lines
119 B
Rust

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