]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/self_assignment.rs
Rollup merge of #100462 - zohnannor:master, r=thomcc
[rust.git] / src / tools / clippy / tests / ui / self_assignment.rs
index a7cbb9cd78b151cb82b9f415c59a170be1541e2e..ef647622910248bc2e1c03224c0f94cbc21b15ca 100644 (file)
@@ -39,7 +39,7 @@ pub fn negatives_not_equal(mut a: usize, b: &mut usize, mut s: S) {
     t.0 = t.1;
 }
 
-#[allow(clippy::eval_order_dependence)]
+#[allow(clippy::mixed_read_write_in_expression)]
 pub fn negatives_side_effects() {
     let mut v = vec![1, 2, 3, 4, 5];
     let mut i = 0;