We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baffa2e commit b52e9a4Copy full SHA for b52e9a4
crates/hir-ty/src/mir/eval/tests.rs
@@ -636,28 +636,6 @@ fn main() {
636
);
637
}
638
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
661
#[test]
662
fn closure_capture_array_const_generic() {
663
check_pass(
0 commit comments