2018-08-08 07:28:26 -05:00
|
|
|
error[E0603]: trait `Foo` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-11593.rs:7:24
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | impl private_trait_xc::Foo for Bar {}
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^ private trait
|
2020-01-12 07:04:03 -06:00
|
|
|
|
|
|
|
|
note: the trait `Foo` is defined here
|
|
|
|
--> $DIR/auxiliary/private-trait-xc.rs:1:1
|
|
|
|
|
|
|
|
|
LL | trait Foo {}
|
|
|
|
| ^^^^^^^^^
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0603`.
|