mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
13 lines
429 B
Plaintext
13 lines
429 B
Plaintext
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`.
|