diff options
| author | bors <bors@rust-lang.org> | 2023-05-26 17:29:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-26 17:29:03 +0000 |
| commit | 1a5f8bce74ee432f7cc3aa131bc3d6920e06de10 (patch) | |
| tree | cdb99180894837fa6f29aad35bc33f03e6bcda38 /compiler/rustc_mir_transform/src/check_alignment.rs | |
| parent | 917b0b6c70f078cb08bbb0080c9379e4487353c3 (diff) | |
| parent | 6827a413c82af4c69b74a5b961b695b854e4ecad (diff) | |
| download | rust-1a5f8bce74ee432f7cc3aa131bc3d6920e06de10.tar.gz rust-1a5f8bce74ee432f7cc3aa131bc3d6920e06de10.zip | |
Auto merge of #103291 - ink-feather-org:typeid_no_struct_match, r=dtolnay
Remove structural match from `TypeId` As per https://github.com/rust-lang/rust/pull/99189#issuecomment-1203720442. > Removing the structural equality might make sense, but is a breaking change that'd require a libs-api FCP. https://github.com/rust-lang/rust/pull/99189#issuecomment-1197545482 > Landing this PR now (well, mainly the "remove structural equality" part) would unblock `const fn` `TypeId::of`, since we only postponed that because we were guaranteeing too much. See also #99189, #101698
Diffstat (limited to 'compiler/rustc_mir_transform/src/check_alignment.rs')
0 files changed, 0 insertions, 0 deletions
