rename PointerAddress → PointerExposeAddress
This commit is contained in:
parent
395a09c3da
commit
4dc5d457d8
12 changed files with 23 additions and 18 deletions
|
@ -194,7 +194,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
|
|||
let cast_ty = CastTy::from_ty(expr.ty);
|
||||
let cast_kind = match (from_ty, cast_ty) {
|
||||
(Some(CastTy::Ptr(_) | CastTy::FnPtr), Some(CastTy::Int(_))) => {
|
||||
CastKind::PointerAddress
|
||||
CastKind::PointerExposeAddress
|
||||
}
|
||||
(_, _) => CastKind::Misc,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue