Sign in
◑
Theme
rust
/
rust
/
f4fd8a063369bbadc99cffb0a646deb96c0db151
/
.
/
tests
/
ui
/
resolve
/
issue-31845.rs
blob: f6dc11502ba1820fc3b5195ddfc69e2d991d0b12 [
file
]
// Checks lexical scopes cannot see through normal module boundaries
fn
f
()
{
fn
g
()
{}
mod
foo
{
fn
h
()
{
g
();
//~ ERROR cannot find function `g` in this scope
}
}
}
fn
main
()
{}