diff --git a/tests/ui/lint/unused/issue-119383.rs b/tests/ui/lint/unused/issue-119383-if-let-guard.rs similarity index 100% rename from tests/ui/lint/unused/issue-119383.rs rename to tests/ui/lint/unused/issue-119383-if-let-guard.rs diff --git a/tests/ui/lint/unused/issue-119383.stderr b/tests/ui/lint/unused/issue-119383-if-let-guard.stderr similarity index 78% rename from tests/ui/lint/unused/issue-119383.stderr rename to tests/ui/lint/unused/issue-119383-if-let-guard.stderr index 6b4d14b95d55a..5bf48bb80a8f6 100644 --- a/tests/ui/lint/unused/issue-119383.stderr +++ b/tests/ui/lint/unused/issue-119383-if-let-guard.stderr @@ -1,11 +1,11 @@ error: unused variable: `b` - --> $DIR/issue-119383.rs:6:24 + --> $DIR/issue-119383-if-let-guard.rs:6:24 | LL | () if let Some(b) = Some(()) => {} | ^ help: if this is intentional, prefix it with an underscore: `_b` | note: the lint level is defined here - --> $DIR/issue-119383.rs:2:9 + --> $DIR/issue-119383-if-let-guard.rs:2:9 | LL | #![deny(unused_variables)] | ^^^^^^^^^^^^^^^^