We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b95b3fd commit 856d342Copy full SHA for 856d342
build.rs
@@ -10,7 +10,6 @@ fn main() {
10
11
ac.emit_expression_cfg("1u32.reverse_bits()", "has_reverse_bits");
12
ac.emit_expression_cfg("1u32.trailing_ones()", "has_leading_trailing_ones");
13
- ac.emit_expression_cfg("{ let mut x = 1; x += &2; }", "has_int_assignop_ref");
14
ac.emit_expression_cfg("1u32.div_euclid(1u32)", "has_div_euclid");
15
16
if env::var_os("CARGO_FEATURE_STD").is_some() {
src/lib.rs
@@ -624,7 +624,6 @@ fn check_numassign_ops() {
624
assert_eq!(compute(1, 2), 1)
625
}
626
627
-#[cfg(has_int_assignop_ref)]
628
#[test]
629
fn check_numassignref_ops() {
630
fn compute<T: NumAssignRef + Copy>(mut x: T, y: &T) -> T {
0 commit comments