rust/tests/ui/proc-macro/custom-attr-panic.rs
2024-02-18 22:51:19 +02:00

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() {}