diff --git a/src/test/ui/consts/control-flow/exhaustive-c-like-enum-match.rs b/src/test/ui/consts/control-flow/exhaustive-c-like-enum-match.rs index d24179d856f4..9e22151f2e9e 100644 --- a/src/test/ui/consts/control-flow/exhaustive-c-like-enum-match.rs +++ b/src/test/ui/consts/control-flow/exhaustive-c-like-enum-match.rs @@ -18,10 +18,4 @@ const fn f(e: E) { } } -const fn g(e: E) { - match e { - _ => {} - } -} - fn main() {}