rust/tests/ui/resolve/crate-in-paths.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
142 B
Rust
Raw Normal View History

//@ edition:2018
mod bar {
pub(crate) struct Foo;
}
fn main() {
Foo;
//~^ ERROR cannot find value `Foo` in this scope [E0425]
}