blob: 027389556fe24fd83ed4a0cecc9554cbec5c8b13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// aux-build:test-macros.rs
// Regression test for issue #81543
// Tests that we emit a properly spanned error
// when the output of a proc-macro cannot be parsed
// as the expected AST node kind
extern crate test_macros;
test_macros::identity! {
fn 32() {} //~ ERROR expected identifier
}
fn main() {}
|