rust/library/core
Dylan DPC 7107c89970
Rollup merge of #85096 - clarfonthey:const_unchecked, r=oli-obk
Make unchecked_{add,sub,mul} inherent methods unstably const

The intrinsics are marked as being stably const (even though they're not stable by nature of being intrinsics), but the currently-unstable inherent versions are not marked as const. This fixes this inconsistency. Split out of #85017,

r? `@oli-obk`
2021-05-10 16:15:02 +02:00
..
benches move core::hint::black_box under its own feature gate 2021-04-25 11:08:12 +02:00
src Rollup merge of #85096 - clarfonthey:const_unchecked, r=oli-obk 2021-05-10 16:15:02 +02:00
tests Rollup merge of #84105 - WaffleLapkin:stabilize_array_from_ref, r=m-ou-se 2021-04-25 01:53:10 +09:00
Cargo.toml Auto merge of #82271 - Aaron1011:debug-refcell, r=m-ou-se 2021-03-23 04:49:47 +00:00