mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 09:47:57 +00:00
12 lines
254 B
Rust
12 lines
254 B
Rust
// This test makes sure that we detect changed feature gates.
|
|
|
|
//@ revisions: rpass1 bfail2
|
|
//@ compile-flags: -Z query-dep-graph
|
|
|
|
#![cfg_attr(rpass1, feature(decl_macro))]
|
|
|
|
fn main() {}
|
|
|
|
macro foo() {}
|
|
//[bfail2]~^ ERROR `macro` is experimental [E0658]
|