diff --git a/tests/ui/crate_level_checks/no_std_swap.rs b/tests/ui/crate_level_checks/no_std_swap.rs index f5ff9eed7a1..d3571eaf0d7 100644 --- a/tests/ui/crate_level_checks/no_std_swap.rs +++ b/tests/ui/crate_level_checks/no_std_swap.rs @@ -6,7 +6,6 @@ use core::panic::PanicInfo; #[warn(clippy::all)] fn main() { - // TODO: do somethjing with swap let mut a = 42; let mut b = 1337; diff --git a/tests/ui/crate_level_checks/no_std_swap.stderr b/tests/ui/crate_level_checks/no_std_swap.stderr index 079f1828cf9..48152d8ad77 100644 --- a/tests/ui/crate_level_checks/no_std_swap.stderr +++ b/tests/ui/crate_level_checks/no_std_swap.stderr @@ -1,5 +1,5 @@ error: this looks like you are trying to swap `a` and `b` - --> $DIR/no_std_swap.rs:13:5 + --> $DIR/no_std_swap.rs:12:5 | LL | / a = b; LL | | b = a;