]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/for-loop-while/while-let-2.stderr
Rollup merge of #102954 - GuillaumeGomez:cfg-hide-attr-checks, r=Manishearth
[rust.git] / src / test / ui / for-loop-while / while-let-2.stderr
index 2d23a637361ece9b0d0c236aecf2f49b64346dae..1b1cf6792433357251e338d3efe1a12a16a0cd29 100644 (file)
@@ -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