summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0603.stderr
blob: ee902584f56dac23028d5be6ef1a01c840a5223e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0603]: constant `PRIVATE` is private
  --> $DIR/E0603.rs:6:17
   |
LL |     SomeModule::PRIVATE;
   |                 ^^^^^^^ private constant
   |
note: the constant `PRIVATE` is defined here
  --> $DIR/E0603.rs:2:5
   |
LL |     const PRIVATE: u32 = 0x_a_bad_1dea_u32;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0603`.