summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-consts/associated-const-private-impl.stderr
blob: a3fa3002e1efb9029fbc6bc44fbb10a7eab0b853 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0624]: associated constant `ID` is private
  --> $DIR/associated-const-private-impl.rs:13:30
   |
LL |             const ID: i32 = 1;
   |             ------------- private associated constant defined here
...
LL |     assert_eq!(1, bar1::Foo::ID);
   |                              ^^ private associated constant

error: aborting due to previous error

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