]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/intrinsics.rs
Merge commit 'f4850f7292efa33759b4f7f9b7621268979e9914' into clippyup
[rust.git] / library / core / src / intrinsics.rs
index 819ccf5a3e9e70ed7a63165fcffbb70cb67acc3b..7ed7d767f2fb5b42955ac6c80cccaba8e9003885 100644 (file)
@@ -1851,6 +1851,7 @@ pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) {
     /// `x % y != 0` or `y == 0` or `x == T::MIN && y == -1`
     ///
     /// This intrinsic does not have a stable counterpart.
+    #[rustc_const_unstable(feature = "const_exact_div", issue = "none")]
     pub fn exact_div<T: Copy>(x: T, y: T) -> T;
 
     /// Performs an unchecked division, resulting in undefined behavior