about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorKevin Reid <kpreid@switchb.org>2024-12-21 17:13:52 -0800
committerKevin Reid <kpreid@switchb.org>2024-12-22 11:18:56 -0800
commit5c04151c6cea29398b786b3fa781ec2f8f5ed1da (patch)
treea063fc7a59a4f7045fc8dcfcb9f38c942259237b /compiler/rustc_mir_transform/src
parent13170cd787cb733ed24842ee825bcbd98dc01476 (diff)
downloadrust-5c04151c6cea29398b786b3fa781ec2f8f5ed1da.tar.gz
rust-5c04151c6cea29398b786b3fa781ec2f8f5ed1da.zip
Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
Implementing `PointerLike` for `UnsafeCell` enables the possibility of
interior mutable `dyn*` values. Since this means potentially exercising
new codegen behavior, I added a test for it in `tests/ui/dyn-star/cell.rs`.

Also updated UI tests to account for the `isize` implementation changing
error messages.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions