]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/proc-macro/issue-81543-item-parse-err.rs
1 // aux-build:test-macros.rs
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
8 extern crate test_macros
;
10 test_macros
::identity
! {
11 fn 32() {}
//~ ERROR expected identifier