diff options
| author | Cameron Steffen <cam.steffen94@gmail.com> | 2021-10-14 13:28:28 -0500 |
|---|---|---|
| committer | Cameron Steffen <cam.steffen94@gmail.com> | 2021-10-15 02:36:58 -0500 |
| commit | 90f4521cfdfc85fc04759cfba2f86a6acc096cb3 (patch) | |
| tree | f5fdf5b627cdb8e11004d2f5417c2006e75cb80a /src/test/ui/expr | |
| parent | f005e9fe96a938947e8f8e3c85268a2b2ed686c1 (diff) | |
| download | rust-90f4521cfdfc85fc04759cfba2f86a6acc096cb3.tar.gz rust-90f4521cfdfc85fc04759cfba2f86a6acc096cb3.zip | |
Bless tests
Diffstat (limited to 'src/test/ui/expr')
| -rw-r--r-- | src/test/ui/expr/if/if-let.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/expr/if/if-let.stderr b/src/test/ui/expr/if/if-let.stderr index 7975a9dca0d..3f3a2245834 100644 --- a/src/test/ui/expr/if/if-let.stderr +++ b/src/test/ui/expr/if/if-let.stderr @@ -7,7 +7,7 @@ LL | if let $p = $e $b LL | / foo!(a, 1, { LL | | println!("irrefutable pattern"); LL | | }); - | |_______- in this macro invocation + | |______- in this macro invocation | = note: `#[warn(irrefutable_let_patterns)]` on by default = note: this pattern will always match, so the `if let` is useless @@ -23,7 +23,7 @@ LL | if let $p = $e $b LL | / bar!(a, 1, { LL | | println!("irrefutable pattern"); LL | | }); - | |_______- in this macro invocation + | |______- in this macro invocation | = note: this pattern will always match, so the `if let` is useless = help: consider replacing the `if let` with a `let` |
