1 error[E0624]: associated constant `ID` is private
2 --> $DIR/associated-const-private-impl.rs:13:30
4 LL | const ID: i32 = 1;
5 | ------------------ private associated constant defined here
7 LL | assert_eq!(1, bar1::Foo::ID);
8 | ^^ private associated constant
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0624`.