about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorCDirkx <christiaan@dirkx.com>2020-08-12 22:10:32 +0200
committerCDirkx <christiaan@dirkx.com>2020-08-12 22:10:32 +0200
commit6b0d44e92a529962792d3a5f1e7b44b6e3c6ed05 (patch)
tree83d068b0e014b22c5effe66a04fdfbd3f059e9b4 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
parent3df25ae186e89c885d9a71cd37fbd7a37e39fc85 (diff)
downloadrust-6b0d44e92a529962792d3a5f1e7b44b6e3c6ed05.tar.gz
rust-6b0d44e92a529962792d3a5f1e7b44b6e3c6ed05.zip
Make some Ordering methods const
Constify the following methods of `core::cmp::Ordering`:
 - `reverse`
 - `then`

Possible because of #49146 (Allow `if` and `match` in constants).
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions