Switch compile-fail tests to ui tests #2027
Labels
A-tests
Area: affects our test suite or CI
C-enhancement
Category: a PR with an enhancement or an issue tracking an accepted enhancement
Currently, we use the
compile-fail
mode ofcompiletest
for our "expected to fail" tests. rustc has switched toui
a long time ago, and it probably would make sense for Miri to follow suit. That would also unblock #2015.#1977 finally makes this feasible by hiding libstd internals from the default stacktraces.
However, besides making sure we can actually get compiletest to do this properly (miri's needs are somewhat special), we also need to figure out how to support something like
--bless
. Clippy might be a good template here.ui tests would also make it much easier to evaluate PRs like #1971.
The text was updated successfully, but these errors were encountered: