You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of #155411 - Zalathar:should-ice, r=jieyouxu
compiletest: Remove the `//@ should-ice` directive
The `//@ should-ice` directive was only being used by one test, which can just as easily use the more general `//@ failure-status` directive instead.
All of the removed exit-code checks were redundant with other exit-code checks that are still present.
---
I have manually verified that `tests/incremental/delayed_span_bug.rs` fails if the failure-status directive is modified or removed.
|`failure-status`| Check |`ui`, `crashes`| Any `u16`|
84
-
|`should-ice`| Check failure status is `101`|`coverage`, `incremental`| N/A |
83
+
|`failure-status`| On failure, the compiler must exit with this status code. To expect an ICE, use `//@ failure-status: 101`. |`ui`, `crashes`, `incremental`| Any `u16`|
85
84
|`should-fail`| Compiletest self-test | All | N/A |
86
85
87
86
### Controlling output snapshots and normalizations
@@ -318,7 +317,6 @@ See [Pretty-printer](compiletest.md#pretty-printer-tests).
318
317
-[`revisions`](compiletest.md#revisions) — compile multiple times
0 commit comments