mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
18 lines
428 B
Rust
18 lines
428 B
Rust
#![feature(lint_reasons)]
|
|
|
|
#![deny(unused_attributes)]
|
|
#![allow()] //~ ERROR unused attribute
|
|
#![expect()] //~ ERROR unused attribute
|
|
#![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() {}
|