From 522f3f901fe560b1feaf935bf7c5feb15c852894 Mon Sep 17 00:00:00 2001 From: homersimpsons Date: Thu, 18 Nov 2021 11:54:35 +0100 Subject: [PATCH] `no_std_swap`: Remove obsolete TODO from test --- tests/ui/crate_level_checks/no_std_swap.rs | 1 - tests/ui/crate_level_checks/no_std_swap.stderr | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 @@ #[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;