This commit is contained in:
Folkert 2021-06-19 19:59:51 +02:00
parent af4ee51560
commit b20269d16d
4 changed files with 22 additions and 24 deletions

View file

@ -176,7 +176,7 @@ fn jit_to_ast_help<'a>(
),
Content::Structure(FlatType::Func(_, _, _)) => {
// a function with a struct as the closure environment
return Err(ToAstProblem::FunctionLayout);
Err(ToAstProblem::FunctionLayout)
}
other => {
unreachable!(