rustc/tests/ui/attributes/issue-105594-invalid-attr-validation.rs
2024-11-29 22:33:13 +01:00

8 lines
187 B
Rust

// This checks that the attribute validation ICE in issue #105594 doesn't
// recur.
fn main() {}
#[track_caller] //~ ERROR attribute should be applied to a function
static _A: () = ();