diff options
author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-01-17 20:33:03 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-17 20:33:03 +0530 |
commit | 09faa266dac3a7e85f57a7b02e9ee181076207b7 (patch) | |
tree | 3eb4f20b30e59ad50fec3915bb375455dfeb415f /tests/rustdoc-js-std/parser-errors.js | |
parent | f34cc658eb477958e2b73e05586e7af66faefad9 (diff) | |
parent | 7355ab3fe33518bbcaeb04ef0629674b6902293a (diff) | |
download | rust-09faa266dac3a7e85f57a7b02e9ee181076207b7.tar.gz |
Rollup merge of #101698 - raldone01:feat/const_cmp_typeid, r=scottmcm
Constify `TypeId` ordering impls
Tracking issue: #101871
Adding const ordering to `TypeId` allows rtti crates to optimize some casting scenarios (without transmuting to `u64`). This would also prevent these crates from breaking if the underlying type is changed from `u64` to something different.
Feature gate: `#![feature(const_cmp_type_id)]`
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions