rust/tests/ui/proc-macro/custom-attr-panic.rs

9 lines
147 B
Rust

//@ aux-build: test-macros.rs
extern crate test_macros;
#[test_macros::panic_attr] //~ ERROR custom attribute panicked
fn foo() {}
fn main() {}