]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-consts/associated-const-private-impl.stderr
Rollup merge of #105983 - compiler-errors:issue-105981, r=tmiasko
[rust.git] / src / test / ui / associated-consts / associated-const-private-impl.stderr
1 error[E0624]: associated constant `ID` is private
2   --> $DIR/associated-const-private-impl.rs:13:30
3    |
4 LL |             const ID: i32 = 1;
5    |             ------------- private associated constant defined here
6 ...
7 LL |     assert_eq!(1, bar1::Foo::ID);
8    |                              ^^ private associated constant
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0624`.