mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 17:26:12 +00:00
Long ago, UI tests were divided into "compile" and "run" tests. Later, the compile tests were further subdivided into "check" and "build" tests, to speed up tests that don't need a full build. The same split was never applied to incremental test revisions, so the only way to perform a check build in incremental tests is (confusingly) to use a `cfail` revision and then specify `//@ check-fail` or `//@ check-pass`. This PR makes room for dedicated check-fail and check-pass revisions by renaming the existing `cfail` and `cpass` revisions to `bfail` and `bpass`, since they currently perform a full build.
14 lines
334 B
Rust
14 lines
334 B
Rust
// This test makes sure that we detect changed feature gates.
|
|
|
|
//@ revisions: rpass1 bfail2
|
|
//@ compile-flags: -Z query-dep-graph
|
|
|
|
#![feature(rustc_attrs)]
|
|
#![cfg_attr(rpass1, feature(abi_unadjusted))]
|
|
|
|
fn main() {
|
|
}
|
|
|
|
extern "unadjusted" fn foo() {}
|
|
//[bfail2]~^ ERROR: "unadjusted" ABI is an implementation detail and perma-unstable
|