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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
119 B
Rust
Raw Normal View History

2017-06-02 14:38:52 -05:00
mod SomeModule {
const PRIVATE: u32 = 0x_a_bad_1dea_u32;
}
fn main() {
SomeModule::PRIVATE; //~ ERROR E0603
}