]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/crate-in-paths.rs
Rollup merge of #106244 - atouchet:readme3, r=workingjubilee
[rust.git] / tests / ui / resolve / crate-in-paths.rs
1 // edition:2018
2
3 mod bar {
4     pub(crate) struct Foo;
5 }
6
7 fn main() {
8     Foo;
9     //~^ ERROR cannot find value `Foo` in this scope [E0425]
10 }