Avoid should-fail in two ui tests

should-fail is only meant for testing the compiletest framework itself.
It checks that the test runner itself panicked.
This commit is contained in:
bjorn3
2026-01-13 15:16:06 +00:00
parent b2a322beb2
commit 8afa95d28f
2 changed files with 2 additions and 2 deletions
@@ -3,7 +3,7 @@
// The nll_beyond revision is disabled due to missing support from two-phase beyond autorefs
//@ unused-revision-names: nll_beyond
//@[nll_beyond]compile-flags: -Z two-phase-beyond-autoref
//@[nll_beyond]should-fail
//@[nll_beyond]check-fail
// This is a corner case that the current implementation is (probably)
// treating more conservatively than is necessary. But it also does
+1 -1
View File
@@ -1,4 +1,4 @@
//@ should-fail
//@ known-bug: unknown
//@ compile-flags: -Wrust-2021-incompatible-closure-captures
// Inference, canonicalization, and significant drops should work nicely together.
// Related issue: #86868