mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 18:40:57 +03:00
7107c89970
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`