mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
18 lines
493 B
Plaintext
18 lines
493 B
Plaintext
error[E0603]: trait `Bar` is private
|
|
--> $DIR/privacy-ufcs.rs:12:20
|
|
|
|
|
LL | <i32 as ::foo::Bar>::baz();
|
|
| ^^^ --- associated function `baz` is not publicly re-exported
|
|
| |
|
|
| private trait
|
|
|
|
|
note: the trait `Bar` is defined here
|
|
--> $DIR/privacy-ufcs.rs:4:5
|
|
|
|
|
LL | trait Bar {
|
|
| ^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0603`.
|