mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
9 lines
253 B
Rust
9 lines
253 B
Rust
// checks that this attribute is caught on non-macro items.
|
|
// this needs a different test since this is done after expansion
|
|
|
|
#[allow_internal_unstable()] //~ ERROR allow_internal_unstable side-steps
|
|
//~| ERROR attribute should
|
|
struct S;
|
|
|
|
fn main() {}
|