rust/tests/ui/resolve/unresolved-segments-visibil...

10 lines
376 B
Plaintext

error[E0433]: failed to resolve: `String` is a struct, not a module
--> $DIR/unresolved-segments-visibility.rs:8:27
|
LL | pub(in b::string::String::newy) extern crate alloc as e;
| ^^^^^^ `String` is a struct, not a module
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0433`.