]> git.lizzy.rs Git - rust.git/blob - src/test/ui/crate-in-paths.rs
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / crate-in-paths.rs
1 // edition:2018
2
3 #![feature(crate_visibility_modifier)]
4
5 mod bar {
6     crate struct Foo;
7 }
8
9 fn main() {
10     Foo;
11     //~^ ERROR cannot find value `Foo` in this scope [E0425]
12 }