diff options
| author | bors <bors@rust-lang.org> | 2023-11-18 06:51:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-18 06:51:15 +0000 |
| commit | 61d3b263a793b390f6231f08d862e8c71d04e3ef (patch) | |
| tree | 3f732addbc286da20c41a51b8ad758a6dab10c13 /compiler/rustc_query_impl/src | |
| parent | e6dade96f4f16b2c0f621d657130b90b4bb519a2 (diff) | |
| parent | 114873dc19d2c46f0090a7485218b1fb202648fc (diff) | |
| download | rust-61d3b263a793b390f6231f08d862e8c71d04e3ef.tar.gz rust-61d3b263a793b390f6231f08d862e8c71d04e3ef.zip | |
Auto merge of #115249 - clarfonthey:alignment, r=scottmcm
impl more traits for ptr::Alignment, add mask method Changes: * Adds `rustc_const_unstable` attributes where missing * Makes `log2` method const * Adds `mask` method * Implements `Default`, which is equivalent to `Alignment::MIN` No longer included in PR: * Removes indirection of `AlignmentEnum` type alias (this was intentional) * Implements `Display`, `Binary`, `Octal`, `LowerHex`, and `UpperHex` (should go through libs-api instead) * Controversially implements `LowerExp` and `UpperExp` using `p` instead of `e` to indicate a power of 2 (also should go through libs-api) Tracking issue for `ptr::Alignment`: #102070
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions
