Bless UI tests: do not print alternate implementors of Step
Alternative candidates for a trait implementation are not printed when the trait has a diagnostic name, to avoid printing alternatives for common stdlib traits such as `Copy` or `Debug`. However, this affects all traits for which a diagnostic item is added. Here, the list of alternatives candidates for `Step` does not seem useful, and `Step` is unstable, so this will not be missed.
This commit is contained in:
parent
07338a40de
commit
890ade5ae8
1 changed files with 0 additions and 10 deletions
|
|
@ -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`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue