]> git.lizzy.rs Git - rust.git/blob - src/test/incremental/feature_gate.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / incremental / feature_gate.rs
1 // This test makes sure that we detect changed feature gates.
2
3 // revisions:rpass1 cfail2
4 // compile-flags: -Z query-dep-graph
5
6 #![feature(rustc_attrs)]
7 #![cfg_attr(rpass1, feature(abi_unadjusted))]
8
9 fn main() {
10 }
11
12 extern "unadjusted" fn foo() {}
13 //[cfail2]~^ ERROR: unadjusted ABI is an implementation detail and perma-unstable