rust/tests/ui/feature-gates/issue-43106-gating-of-test.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
210 B
Rust
Raw Normal View History

// The non-crate level cases are in issue-43106-gating-of-builtin-attrs.rs.
#![allow(soft_unstable)]
#![test = "4200"]
//~^ ERROR `test` attribute cannot be used at crate level
fn main() {}