]> git.lizzy.rs Git - rust.git/blob - tests/incremental/feature_gate.rs
Rollup merge of #106715 - BoxyUwU:new_solver_triagebot, r=lcnr
[rust.git] / tests / 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