rust/tests/ui/resolve/visibility-indeterminate.rs

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() {}