rust/tests/ui/resolve/visibility-indeterminate.stderr
Vadim Petrochenkov 772493d51d resolve: Split extern prelude into two scopes
One for `--extern` options and another for `extern crate` items.
2025-08-13 17:45:40 +03:00

16 lines
464 B
Plaintext

error[E0433]: failed to resolve: could not find `bar` in the list of imported crates
--> $DIR/visibility-indeterminate.rs:5:10
|
LL | pub(in ::bar) struct Baz {}
| ^^^ could not find `bar` in the list of imported crates
error: cannot find macro `foo` in this scope
--> $DIR/visibility-indeterminate.rs:3:1
|
LL | foo!();
| ^^^
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0433`.