X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=tests%2Fui%2Funused_peekable.stderr;h=54788f2fa2f4cfc00f02b3bfeb1873c63a1b3555;hb=b62319ce025b9a127f3d0f1217e3326418a38bb8;hp=d557f54179dbaf680ccf899b14e9e3b242393935;hpb=5820addb240ddcf13712be686c141a3d00ae792a;p=rust.git diff --git a/tests/ui/unused_peekable.stderr b/tests/ui/unused_peekable.stderr index d557f54179d..54788f2fa2f 100644 --- a/tests/ui/unused_peekable.stderr +++ b/tests/ui/unused_peekable.stderr @@ -4,8 +4,8 @@ error: `peek` never called on `Peekable` iterator LL | let peekable = std::iter::empty::().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