small stuff

This commit is contained in:
2025-04-11 02:37:47 -04:00
parent 44824b8b5a
commit 993458f4be
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ impl FnLowerable for PExpr {
}
UnaryOp::Deref => {
let t = &ctx.program.expect(res.id).ty;
let Type::Ref(inner) = t else {
let Type::Ref(_) = t else {
ctx.err(format!(
"Cannot dereference type {:?}",
ctx.program.type_name(t)