Skip to content

Commit b52e9a4

Browse files
authored
Remove irrelevant test code included by mistake
1 parent baffa2e commit b52e9a4

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

crates/hir-ty/src/mir/eval/tests.rs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -636,28 +636,6 @@ fn main() {
636636
);
637637
}
638638

639-
#[test]
640-
fn check_check_check() {
641-
check_pass(
642-
r#"
643-
//- minicore: fn
644-
struct Foo<F: FnOnce(i32)>(F);
645-
fn should_not_reach() {
646-
_ // FIXME: replace this function with panic when that works
647-
}
648-
649-
fn main() {
650-
let mut a = 0;
651-
let foo = Foo(move |val| {
652-
a = val;
653-
});
654-
foo.0(10);
655-
foo.0(20);
656-
}
657-
"#,
658-
)
659-
}
660-
661639
#[test]
662640
fn closure_capture_array_const_generic() {
663641
check_pass(

0 commit comments

Comments
 (0)