]>
git.proxmox.com Git - rustc.git/blob - tests/ui-fulldeps/internal-lints/query_stability_incorrect.rs
1 // compile-flags: -Z unstable-options
3 #![feature(rustc_attrs)]
5 #[rustc_lint_query_instability]
6 //~^ ERROR attribute should be applied to a function
10 #[rustc_lint_query_instability(a)]
11 //~^ ERROR malformed `rustc_lint_query_instability`