about summary refs log tree commit diff
path: root/src/test/ui/for-loop-while
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@gmail.com>2022-09-18 19:55:36 +0400
committerMaybe Waffle <waffle.lapkin@gmail.com>2022-10-01 10:03:06 +0000
commit13b67fb9d2849b4e59d5651b0e4fc82ef8b088aa (patch)
treef683e6adf1d562c87135e109f3b8fbc9c1886a07 /src/test/ui/for-loop-while
parentad3d1fc9d535bf4399c88a0fa97aeddb2c0c8f51 (diff)
downloadrust-13b67fb9d2849b4e59d5651b0e4fc82ef8b088aa.tar.gz
rust-13b67fb9d2849b4e59d5651b0e4fc82ef8b088aa.zip
bless ui tests
Diffstat (limited to 'src/test/ui/for-loop-while')
-rw-r--r--src/test/ui/for-loop-while/while-let-2.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/for-loop-while/while-let-2.stderr b/src/test/ui/for-loop-while/while-let-2.stderr
index 2d23a637361..1b1cf679243 100644
--- a/src/test/ui/for-loop-while/while-let-2.stderr
+++ b/src/test/ui/for-loop-while/while-let-2.stderr
@@ -9,9 +9,9 @@ LL | |         println!("irrefutable pattern");
 LL | |     });
    | |______- in this macro invocation
    |
-   = note: `#[warn(irrefutable_let_patterns)]` on by default
    = note: this pattern will always match, so the loop will never exit
    = help: consider instead using a `loop { ... }` with a `let` inside it
+   = note: `#[warn(irrefutable_let_patterns)]` on by default
    = note: this warning originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 warning: irrefutable `while let` pattern