Sign in
rust
/
rust
/
e8a63124746761e743d69ea510194de2ada4034f
/
.
/
tests
/
ui
/
directory_ownership
/
file-mod-restriction.rs
blob: cff876941dbc8fb86904400d408986832a7b5c38 [
file
]
// Test that file modules are not allowed inside blocks.
fn
main
()
{
mod
foo
;
//~ ERROR cannot declare a file module inside a block unless it has a path attribute
}