]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0603.stderr
Rollup merge of #97915 - tbu-:pr_os_string_fmt_write, r=joshtriplett
[rust.git] / src / test / ui / error-codes / E0603.stderr
1 error[E0603]: constant `PRIVATE` is private
2   --> $DIR/E0603.rs:6:17
3    |
4 LL |     SomeModule::PRIVATE;
5    |                 ^^^^^^^ private constant
6    |
7 note: the constant `PRIVATE` is defined here
8   --> $DIR/E0603.rs:2:5
9    |
10 LL |     const PRIVATE: u32 = 0x_a_bad_1dea_u32;
11    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0603`.