Fix proc_macro output with struct parse error
This commit is contained in:
parent
0e241d0059
commit
cf9283ea93
2 changed files with 9 additions and 2 deletions
|
|
@ -17,7 +17,8 @@ extern crate derive_bad;
|
|||
#[derive(
|
||||
A
|
||||
)]
|
||||
//~^^ ERROR: proc-macro derive produced unparseable tokens
|
||||
//~^^ ERROR proc-macro derive produced unparseable tokens
|
||||
//~| ERROR expected `:`, found `}`
|
||||
struct A;
|
||||
|
||||
fn main() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue