]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/issue-81543-item-parse-err.rs
Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup
[rust.git] / src / test / ui / proc-macro / issue-81543-item-parse-err.rs
1 // aux-build:test-macros.rs
2
3 // Regression test for issue #81543
4 // Tests that we emit a properly spanned error
5 // when the output of a proc-macro cannot be parsed
6 // as the expected AST node kind
7
8 extern crate test_macros;
9
10 test_macros::identity! {
11     fn 32() {} //~ ERROR expected identifier
12 }
13
14 fn main() {}