summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-06-21 10:53:26 +0200
committerGitHub <noreply@github.com>2025-06-21 10:53:26 +0200
commit24f797ed842bc4913f06d4c1a962c45b4b695b18 (patch)
tree75d77b7454507237d862f67bda2caf5bc3198533 /tests
parent06cc41b4ec29c9f5ebc5f1476a744b6db07dc29e (diff)
parent890ade5ae85300cc96b1f948d4ac2d756cc67ccd (diff)
downloadrust-24f797ed842bc4913f06d4c1a962c45b4b695b18.tar.gz
rust-24f797ed842bc4913f06d4c1a962c45b4b695b18.zip
Rollup merge of #142787 - samueltardieu:diag-items-for-clippy, r=Manishearth,Urgau
Add diagnostic items for Clippy

Clippy still uses some paths to access items from the standard library. Adding the missing diagnostic items allows removing the last remaining paths.

Closes rust-lang/rust-clippy#5393
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/range/range-1.stderr10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/ui/range/range-1.stderr b/tests/ui/range/range-1.stderr
index 37669dd3f47..8878ba14309 100644
--- a/tests/ui/range/range-1.stderr
+++ b/tests/ui/range/range-1.stderr
@@ -10,16 +10,6 @@ error[E0277]: the trait bound `bool: Step` is not satisfied
 LL |     for i in false..true {}
    |              ^^^^^^^^^^^ the trait `Step` is not implemented for `bool`
    |
-   = help: the following other types implement trait `Step`:
-             Char
-             Ipv4Addr
-             Ipv6Addr
-             char
-             i128
-             i16
-             i32
-             i64
-           and 8 others
    = note: required for `std::ops::Range<bool>` to implement `Iterator`
    = note: required for `std::ops::Range<bool>` to implement `IntoIterator`