Remove arrays/IntoIterator message from Iterator trait.
This commit is contained in:
parent
cdbe288897
commit
8d954fa589
1 changed files with 0 additions and 5 deletions
|
@ -79,11 +79,6 @@ fn _assert_is_object_safe(_: &dyn Iterator<Item = ()>) {}
|
||||||
_Self = "std::string::String",
|
_Self = "std::string::String",
|
||||||
label = "`{Self}` is not an iterator; try calling `.chars()` or `.bytes()`"
|
label = "`{Self}` is not an iterator; try calling `.chars()` or `.bytes()`"
|
||||||
),
|
),
|
||||||
on(
|
|
||||||
_Self = "[]",
|
|
||||||
label = "arrays do not yet implement `IntoIterator`; try using `std::array::IntoIter::new(arr)`",
|
|
||||||
note = "see <https://github.com/rust-lang/rust/pull/65819> for more details"
|
|
||||||
),
|
|
||||||
on(
|
on(
|
||||||
_Self = "{integral}",
|
_Self = "{integral}",
|
||||||
note = "if you want to iterate between `start` until a value `end`, use the exclusive range \
|
note = "if you want to iterate between `start` until a value `end`, use the exclusive range \
|
||||||
|
|
Loading…
Reference in a new issue