Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
proc-macro
/
attributes-on-modules.rs
blob: 12c3ac6d9475b62c936b80905867d4dbb87fd4c3 [
file
] [
log
] [
blame
]
// aux-build:test-macros.rs
#[
macro_use
]
extern
crate test_macros
;
#[
identity_attr
]
//~ ERROR custom attributes cannot be applied to modules
mod
m
{
pub
struct
S
;
}
fn
main
()
{
let
s
=
m
::
S
;
}