Skip to content

Commit

Permalink
Unrolled build for rust-lang#119410
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#119410 - est31:fix_if_guard_unused, r=Nilstrieb

Rename test to be more descriptive

As suggested in rust-lang#119402 (comment)

r? ``@Nilstrieb``
  • Loading branch information
rust-timer committed Dec 30, 2023
2 parents 3cdd004 + 740378c commit 6b1dcea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -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)]
| ^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 6b1dcea

Please sign in to comment.