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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
147 B
Rust
Raw Normal View History

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