]>
git.proxmox.com Git - rustc.git/blob - tests/ui/empty/empty-attributes.rs
1 #![feature(lint_reasons)]
3 #![deny(unused_attributes)]
4 #![allow()] //~ ERROR unused attribute
5 #![expect()] //~ ERROR unused attribute
6 #![warn()] //~ ERROR unused attribute
7 #![deny()] //~ ERROR unused attribute
8 #![forbid()] //~ ERROR unused attribute
9 #![feature()] //~ ERROR unused attribute
11 #[repr()] //~ ERROR unused attribute
14 #[target_feature()] //~ ERROR unused attribute
15 pub unsafe fn foo() {}