Sign in
fuchsia
/
third_party
/
rust
/
eda6dc928323fcd0ac1b51cea1aa79ab17e8519d
/
.
/
tests
/
ui
/
proc-macro
/
derive-bad.rs
blob: 9b237c731dbe435612f6c93c14152c042d4b787f [
file
] [
log
] [
blame
]
//@ proc-macro: derive-bad.rs
#[
macro_use
]
extern
crate derive_bad
;
#[
derive
(
A
)]
//~^ ERROR proc-macro derive produced unparsable tokens
//~| ERROR expected `:`, found `}`
struct
A
;
//~ ERROR the name `A` is defined multiple times
fn
main
()
{}