rust/tests/ui/resolve/unresolved-segments-visibility.stderr
2025-06-05 09:20:19 +02:00

10 lines
390 B
Plaintext

error[E0433]: failed to resolve: `String` is a struct, not a module
--> $DIR/unresolved-segments-visibility.rs:8:34
|
LL | pub(in crate::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`.