rust/tests/ui/associated-consts/associated-const-private-impl.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
429 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0624]: associated constant `ID` is private
--> $DIR/associated-const-private-impl.rs:13:30
2018-08-08 07:28:26 -05:00
|
LL | const ID: i32 = 1;
2022-02-13 09:27:59 -06:00
| ------------- private associated constant defined here
...
2018-08-08 07:28:26 -05:00
LL | assert_eq!(1, bar1::Foo::ID);
| ^^ private associated constant
2018-08-08 07:28:26 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0624`.