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 19:38:52 +00:00
mod SomeModule {
const PRIVATE: u32 = 0x_a_bad_1dea_u32;
}
fn main() {
SomeModule::PRIVATE; //~ ERROR E0603
}