rust/tests/ui/resolve/visibility-indeterminate.rs
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

8 lines
198 B
Rust

//@ edition:2018
foo!(); //~ ERROR cannot find macro `foo` in this scope
pub(in ::bar) struct Baz {} //~ ERROR failed to resolve: could not find `bar` in the list of imported crates
fn main() {}