]> git.proxmox.com Git - rustc.git/blob - src/test/ui/resolve/issue-31845.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / resolve / issue-31845.rs
1 // Checks lexical scopes cannot see through normal module boundaries
2
3 fn f() {
4 fn g() {}
5 mod foo {
6 fn h() {
7 g(); //~ ERROR cannot find function `g` in this scope
8 }
9 }
10 }
11
12 fn main() {}