mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
8 lines
281 B
Rust
8 lines
281 B
Rust
// The non-crate level cases are in issue-43106-gating-of-builtin-attrs.rs.
|
|
|
|
#![allow(soft_unstable)]
|
|
#![test = "4200"]
|
|
//~^ ERROR cannot determine resolution for the attribute macro `test`
|
|
//~^^ ERROR `test` attribute cannot be used at crate level
|
|
fn main() {}
|