blob: 0c1281de4f8c25ad0060c459fadf5358d2e2c289 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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
//~| ERROR proc-macro derive produced unparseable tokens
#[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() {}
|