File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1851,6 +1851,7 @@ extern "rust-intrinsic" {
1851
1851
/// `x % y != 0` or `y == 0` or `x == T::MIN && y == -1`
1852
1852
///
1853
1853
/// This intrinsic does not have a stable counterpart.
1854
+ #[ rustc_const_unstable( feature = "const_exact_div" , issue = "none" ) ]
1854
1855
pub fn exact_div < T : Copy > ( x : T , y : T ) -> T ;
1855
1856
1856
1857
/// Performs an unchecked division, resulting in undefined behavior
Original file line number Diff line number Diff line change 109
109
#![ feature( const_cmp) ]
110
110
#![ feature( const_discriminant) ]
111
111
#![ feature( const_eval_select) ]
112
+ #![ feature( const_exact_div) ]
112
113
#![ feature( const_float_bits_conv) ]
113
114
#![ feature( const_float_classify) ]
114
115
#![ feature( const_fmt_arguments_new) ]
You can’t perform that action at this time.
0 commit comments