mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-28 05:34:45 +00:00
12 lines
337 B
Rust
12 lines
337 B
Rust
#[deprcated] //~ ERROR cannot find attribute `deprcated` in this scope
|
|
fn foo() {}
|
|
|
|
#[tests] //~ ERROR cannot find attribute `tests` in this scope
|
|
fn bar() {}
|
|
|
|
#[rustc_dumm]
|
|
//~^ ERROR cannot find attribute `rustc_dumm` in this scope
|
|
//~| ERROR attributes starting with `rustc` are reserved for use by the `rustc` compiler
|
|
|
|
fn main() {}
|