rust/tests/ui/resolve/visibility-indeterminate.rs
2024-02-16 20:02:50 +00:00

8 lines
174 B
Rust

//@ edition:2018
foo!(); //~ ERROR cannot find macro `foo` in this scope
pub(in ::bar) struct Baz {} //~ ERROR cannot determine resolution for the visibility
fn main() {}