fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0577]: expected module, found enum `E` 2 --> $DIR/resolve-bad-visibility.rs:4:8 3 | 4LL | pub(in E) struct S; 5 | ^ not a module 6 7error[E0577]: expected module, found trait `Tr` 8 --> $DIR/resolve-bad-visibility.rs:5:8 9 | 10LL | pub(in Tr) struct Z; 11 | ^^ not a module 12 13error[E0742]: visibilities can only be restricted to ancestor modules 14 --> $DIR/resolve-bad-visibility.rs:6:8 15 | 16LL | pub(in std::vec) struct F; 17 | ^^^^^^^^ 18 19error[E0433]: failed to resolve: maybe a missing crate `nonexistent`? 20 --> $DIR/resolve-bad-visibility.rs:7:8 21 | 22LL | pub(in nonexistent) struct G; 23 | ^^^^^^^^^^^ maybe a missing crate `nonexistent`? 24 25error[E0433]: failed to resolve: maybe a missing crate `too_soon`? 26 --> $DIR/resolve-bad-visibility.rs:8:8 27 | 28LL | pub(in too_soon) struct H; 29 | ^^^^^^^^ maybe a missing crate `too_soon`? 30 31error: aborting due to 5 previous errors 32 33Some errors have detailed explanations: E0433, E0577, E0742. 34For more information about an error, try `rustc --explain E0433`.