diff --git a/compiler/test_gen/src/gen_primitives.rs b/compiler/test_gen/src/gen_primitives.rs index e6875cb9da..edb65f4dd9 100644 --- a/compiler/test_gen/src/gen_primitives.rs +++ b/compiler/test_gen/src/gen_primitives.rs @@ -2278,7 +2278,7 @@ fn function_malformed_pattern() { } #[test] -#[should_panic(expected = "Hit an erroneous type when creating a layout for `#UserApp.f`")] +#[should_panic(expected = "Hit an erroneous type when creating a layout for")] fn call_invalid_layout() { assert_llvm_evals_to!( indoc!(