Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
issue-31845.rs
blob: f6dc11502ba1820fc3b5195ddfc69e2d991d0b12 [
file
] [
log
] [
blame
]
// 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
()
{}