2022-05-24 18:41:34 -05:00
|
|
|
//@ aux-build: issue-91800-macro.rs
|
|
|
|
|
|
|
|
#[macro_use]
|
|
|
|
extern crate issue_91800_macro;
|
|
|
|
|
|
|
|
#[derive(MyTrait)]
|
|
|
|
//~^ ERROR macros that expand to items must be delimited with braces or followed by a semicolon
|
2023-04-10 15:02:52 -05:00
|
|
|
//~| ERROR proc-macro derive produced unparsable tokens
|
2022-05-24 18:41:34 -05:00
|
|
|
#[attribute_macro]
|
|
|
|
//~^ ERROR macros that expand to items must be delimited with braces or followed by a semicolon
|
|
|
|
struct MyStruct;
|
|
|
|
|
|
|
|
fn_macro! {}
|
|
|
|
//~^ ERROR macros that expand to items must be delimited with braces or followed by a semicolon
|
|
|
|
|
|
|
|
fn main() {}
|