mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 12:44:40 +00:00
16 lines
381 B
Plaintext
16 lines
381 B
Plaintext
error[E0603]: trait `Bar` is private
|
|
--> $DIR/privacy-ufcs.rs:12:20
|
|
|
|
|
LL | <i32 as ::foo::Bar>::baz();
|
|
| ^^^ private trait
|
|
|
|
|
note: the trait `Bar` is defined here
|
|
--> $DIR/privacy-ufcs.rs:4:5
|
|
|
|
|
LL | trait Bar {
|
|
| ^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0603`.
|