Add an intrinsic that lowers to AggregateKind::RawPtr
This commit is contained in:
parent
e6b2b764ec
commit
4f4442655e
8 changed files with 264 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue