Skip to content

Commit ee4e4f9

Browse files
committed
indirect-const-stabilize the exact_div intrinsic
1 parent ae8ab87 commit ee4e4f9

File tree

1 file changed

+1
-0
lines changed
  • library/core/src/intrinsics

1 file changed

+1
-0
lines changed

Diff for: library/core/src/intrinsics/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2786,6 +2786,7 @@ pub const fn carrying_mul_add<T: ~const fallback::CarryingMulAdd<Unsigned = U>,
27862786
/// `x % y != 0` or `y == 0` or `x == T::MIN && y == -1`
27872787
///
27882788
/// This intrinsic does not have a stable counterpart.
2789+
#[rustc_intrinsic_const_stable_indirect]
27892790
#[rustc_nounwind]
27902791
#[rustc_intrinsic]
27912792
pub const unsafe fn exact_div<T: Copy>(x: T, y: T) -> T;

0 commit comments

Comments
 (0)