Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
proc-macro
/
attribute-order-restricted.rs
blob: a3d4d23450ca6f1e44c346c667e1ad97bfef83cf [
file
] [
log
] [
blame
]
// aux-build:test-macros.rs
#[
macro_use
]
extern
crate test_macros
;
#[
identity_attr
]
// OK
#[
derive
(
Clone
)]
struct
Before
;
#[
derive
(
Clone
)]
#[
identity_attr
]
//~ ERROR macro attributes must be placed before `#[derive]`
struct
After
;
fn
main
()
{}