Uh oh!
There was an error while loading. Please reload this page.
Making ICEs and test them in incremental - #66060
Conversation
rust-highfive
commented
Nov 3, 2019
r? @davidtwco (rust_highfive has picked a reviewer for you, use r? to override) |
davidtwco
commented
Nov 3, 2019
michaelwoerister
left a comment
There was a problem hiding this comment.
Thanks for the PR. @traxys! This looks good in general. I wonder though if the // should-ice functionality can be achieved with existing means. I'll take a closer look later today. Meanwhile, would you mind addressing the nit listed below?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
michaelwoerister
commented
Nov 5, 2019
@traxys, I'm not quite clear if // revisions: cfail1 cfail2// error-pattern: delayed span bug triggered by #[rustc_error(delay_span_bug_from_inside_query)]// failure-status: 101#![feature(rustc_attrs)]#[rustc_error(delay_span_bug_from_inside_query)]fnmain(){} |
@michaelwoerister the problem is this line rust/src/tools/compiletest/src/runtest.rs Line 1407 in 3a1b3b3 There is currently no way to avoid the early stop |
michaelwoerister
commented
Nov 6, 2019
OK, that makes sense. In that case adding |
Uh oh!
There was an error while loading. Please reload this page.
traxys
commented
Nov 7, 2019
I think the |
michaelwoerister
commented
Nov 8, 2019
Yeah, that's fine. |
traxys
commented
Nov 8, 2019
I don't know if I put the test in the best place, but it should now error on misuse of |
michaelwoerister
commented
Nov 20, 2019
bors
commented
Nov 20, 2019
📌 Commit e01d941 has been approved by |
Making ICEs and test them in incremental This adds: - A way to make the compiler ICE - A way to check for ICE in `cfail` tests with `should-ice` - A regression test for issue rust-lang#65401 I am not sure the attribute added `should-ice` is the best for this job
Rollup of 7 pull requests Successful merges: - #66060 (Making ICEs and test them in incremental) - #66298 (rustdoc: fixes#64305: disable search field instead of hidding it) - #66457 (Just derive Hashstable in librustc) - #66496 (rustc_metadata: Privatize more things) - #66514 (Fix selected crate search filter) - #66535 (Avoid ICE when `break`ing to an unreachable label) - #66573 (Ignore run-make reproducible-build-2 on Mac) Failed merges: r? @ghost
This adds:
cfailtests withshould-iceI am not sure the attribute added
should-iceis the best for this job