mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-23 19:15:48 +00:00
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:
@@ -25,7 +25,7 @@
|
||||
StorageLive(_4);
|
||||
_4 = &_1;
|
||||
_3 = &(*_4);
|
||||
_2 = move _3 as &[u8] (Pointer(Unsize));
|
||||
_2 = move _3 as &[u8] (PointerCoercion(Unsize));
|
||||
StorageDead(_3);
|
||||
StorageDead(_4);
|
||||
StorageLive(_5);
|
||||
|
||||
Reference in New Issue
Block a user