Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
directory_ownership
/
non-inline-mod-restriction.rs
blob: af31b8a49281fdc449e6837866bef3eb9350b780 [
file
] [
log
] [
blame
]
// Test that non-inline modules are not allowed inside blocks.
fn
main
()
{
mod
foo
;
//~ ERROR Cannot declare a non-inline module inside a block
}