mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
13 lines
331 B
Rust
13 lines
331 B
Rust
// Unknown attributes fall back to unstable custom attributes.
|
|
|
|
#![feature(custom_inner_attributes)]
|
|
|
|
#![mutable_doc]
|
|
//~^ ERROR cannot find attribute `mutable_doc` in this scope
|
|
|
|
#[dance] mod a {}
|
|
//~^ ERROR cannot find attribute `dance` in this scope
|
|
|
|
#[dance] fn main() {}
|
|
//~^ ERROR cannot find attribute `dance` in this scope
|