rust/src/test/ui/resolve/crate-in-paths.rs

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

13 lines
176 B
Rust
Raw Normal View History

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