Skip to content

Commit 86bfbb1

Browse files
committed
Remove crash test
1 parent e49abdb commit 86bfbb1

File tree

3 files changed

+5
-23
lines changed

3 files changed

+5
-23
lines changed

src/tools/compiletest/src/runtest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ impl<'test> TestCx<'test> {
381381
// if a test does not crash, consider it an error
382382
if proc_res.status.success() || matches!(proc_res.status.code(), Some(1 | 0)) {
383383
self.fatal(&format!(
384-
"test no longer crashes/triggers ICE! Please give it a mearningful name, \
384+
"test no longer crashes/triggers ICE! Please give it a meaningful name, \
385385
add a doc-comment to the start of the test explaining why it exists and \
386386
move it to tests/ui or wherever you see fit."
387387
));

tests/crashes/124891.rs

Lines changed: 0 additions & 22 deletions
This file was deleted.

tests/ui/type-alias-impl-trait/lazy_subtyping_of_opaques.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#![feature(type_alias_impl_trait)]
22

3+
//! This test used to ICE rust-lang/rust#124891
4+
//! because we added an assertion for catching cases where opaque types get
5+
//! registered during the processing of subtyping predicates.
6+
37
type Tait = impl FnOnce() -> ();
48

59
fn reify_as_tait() -> Thunk<Tait> {

0 commit comments

Comments
 (0)