]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/unused_peekable.stderr
Auto merge of #10094 - EricWu2003:increment-visitor-fix, r=xFrednet
[rust.git] / tests / ui / unused_peekable.stderr
index d557f54179dbaf680ccf899b14e9e3b242393935..54788f2fa2f4cfc00f02b3bfeb1873c63a1b3555 100644 (file)
@@ -4,8 +4,8 @@ error: `peek` never called on `Peekable` iterator
 LL |     let peekable = std::iter::empty::<u32>().peekable();
    |         ^^^^^^^^
    |
-   = note: `-D clippy::unused-peekable` implied by `-D warnings`
    = help: consider removing the call to `peekable`
+   = note: `-D clippy::unused-peekable` implied by `-D warnings`
 
 error: `peek` never called on `Peekable` iterator
   --> $DIR/unused_peekable.rs:18:9