]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/issue-91800.rs
Rollup merge of #106726 - cmorin6:fix-comment-typos, r=Nilstrieb
[rust.git] / tests / ui / proc-macro / issue-91800.rs
1 // aux-build: issue-91800-macro.rs
2
3 #[macro_use]
4 extern crate issue_91800_macro;
5
6 #[derive(MyTrait)]
7 //~^ ERROR macros that expand to items must be delimited with braces or followed by a semicolon
8 //~| ERROR proc-macro derive produced unparseable tokens
9 #[attribute_macro]
10 //~^ ERROR macros that expand to items must be delimited with braces or followed by a semicolon
11 struct MyStruct;
12
13 fn_macro! {}
14 //~^ ERROR macros that expand to items must be delimited with braces or followed by a semicolon
15
16 fn main() {}