2021-09-05 19:16:28 -05:00
|
|
|
#![deny(unused_attributes)]
|
|
|
|
#![allow()] //~ ERROR unused attribute
|
2022-03-03 15:28:56 -06:00
|
|
|
#![expect()] //~ ERROR unused attribute
|
2021-09-05 19:16:28 -05:00
|
|
|
#![warn()] //~ ERROR unused attribute
|
|
|
|
#![deny()] //~ ERROR unused attribute
|
|
|
|
#![forbid()] //~ ERROR unused attribute
|
|
|
|
#![feature()] //~ ERROR unused attribute
|
|
|
|
|
|
|
|
#[repr()] //~ ERROR unused attribute
|
|
|
|
pub struct S;
|
|
|
|
|
|
|
|
#[target_feature()] //~ ERROR unused attribute
|
|
|
|
pub unsafe fn foo() {}
|
|
|
|
|
|
|
|
fn main() {}
|