1
Fork 0

Add an intrinsic that lowers to AggregateKind::RawPtr

This commit is contained in:
Scott McMurray 2024-04-11 15:33:37 -07:00
parent e6b2b764ec
commit 4f4442655e
8 changed files with 264 additions and 1 deletions

View file

@ -946,7 +946,10 @@ impl<'a, 'tcx> Visitor<'tcx> for TypeChecker<'a, 'tcx> {
self.fail(location, "input pointer must be thin");
}
} else {
self.fail(location, "first operand to raw pointer aggregate must be a raw pointer");
self.fail(
location,
"first operand to raw pointer aggregate must be a raw pointer",
);
}
// FIXME: Check metadata more generally