]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/absurd-extreme-comparisons.stderr
Rollup merge of #102581 - jyn514:src-detection, r=Mark-Simulacrum
[rust.git] / src / tools / clippy / tests / ui / absurd-extreme-comparisons.stderr
index 6de554378aaa97f1d0537bb1b7703ae59b9f46fc..21cb11fa1bb84bbb3d1f1a69bfe3d932faa0b69e 100644 (file)
@@ -4,8 +4,8 @@ error: this comparison involving the minimum or maximum element for this type co
 LL |     u <= 0;
    |     ^^^^^^
    |
-   = note: `-D clippy::absurd-extreme-comparisons` implied by `-D warnings`
    = help: because `0` is the minimum value for this type, the case where the two sides are not equal never occurs, consider using `u == 0` instead
+   = note: `-D clippy::absurd-extreme-comparisons` implied by `-D warnings`
 
 error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
   --> $DIR/absurd-extreme-comparisons.rs:15:5