2023-06-16 14:44:06 -05:00
|
|
|
error[E0603]: module `b` is private
|
2024-02-06 20:42:01 -06:00
|
|
|
--> $DIR/re-exported-trait.rs:12:9
|
2023-06-16 14:44:06 -05:00
|
|
|
|
|
|
|
|
LL | impl a::b::Trait for S {}
|
|
|
|
| ^ private module
|
|
|
|
|
|
|
|
|
note: the module `b` is defined here
|
2024-02-06 20:42:01 -06:00
|
|
|
--> $DIR/re-exported-trait.rs:6:5
|
2023-06-16 14:44:06 -05:00
|
|
|
|
|
|
|
|
LL | mod b {
|
|
|
|
| ^^^^^
|
|
|
|
help: consider importing this trait through its public re-export instead
|
|
|
|
|
|
|
|
|
LL | impl a::Trait for S {}
|
|
|
|
| ~~~~~~~~
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-06-16 14:44:06 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0603`.
|