Rename adjustment::PointerCast
and variants using it to PointerCoercion
It makes it sound like the `ExprKind` and `Rvalue` are supposed to represent all pointer related casts, when in reality their just used to share a some enum variants. Make it clear there these are only coercion to make it clear why only some pointer related "casts" are in the enum.
This commit is contained in:
parent
fd68a6ded9
commit
2beabbbf6f
85 changed files with 214 additions and 185 deletions
|
@ -22,7 +22,7 @@
|
|||
StorageLive(_6);
|
||||
StorageLive(_7);
|
||||
_7 = &(*_2);
|
||||
_6 = move _7 as &[u8] (Pointer(Unsize));
|
||||
_6 = move _7 as &[u8] (PointerCoercion(Unsize));
|
||||
StorageDead(_7);
|
||||
- _5 = Len((*_6));
|
||||
+ _5 = const N;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue