]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/issue-81543-item-parse-err.rs
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[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() {}