diff --git a/compiler/test_gen/src/gen_primitives.rs b/compiler/test_gen/src/gen_primitives.rs index f8443f283e..d339961dc5 100644 --- a/compiler/test_gen/src/gen_primitives.rs +++ b/compiler/test_gen/src/gen_primitives.rs @@ -1989,26 +1989,6 @@ fn pattern_shadowing() { ); } -#[test] -#[cfg(any(feature = "gen-llvm"))] -#[should_panic(expected = "TODO non-exhaustive pattern")] -fn non_exhaustive_pattern_let() { - assert_evals_to!( - indoc!( - r#" - x : Result (Int a) (Float b) - x = Ok 4 - - (Ok y) = x - - y - "# - ), - 0, - i64 - ); -} - #[test] #[cfg(any(feature = "gen-llvm"))] #[ignore]