Skip to content
Myr

Update ui test suite to nightly-2025-11-02

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent a0a7edb · Browse files · 1 file+16 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+16 added−6 removed

  • tests:+16 added−6 removed

1 file+16 added−6 removed

modified:tests/ui/ensure-nonbool.stderr+16 added-6 removed
5 unmodified lines
6 | | |7 | | the trait `__private::not::Bool` is not implemented for `&str`8 | required by a bound introduced by this call9 |10 = help: the following other types implement trait `__private::not::Bool`:11 &bool12 bool10help: the following other types implement trait `__private::not::Bool`11 --> src/lib.rs12 |13 | impl Bool for bool {14 | ^^^^^^^^^^^^^^^^^^ `bool`15...16 | impl Bool for &bool {17 | ^^^^^^^^^^^^^^^^^^^ `&bool`18note: required by a bound in `anyhow::__private::not`19 --> src/lib.rs20 |21 | pub fn not(cond: impl Bool) -> bool {
75 unmodified lines
97 --> tests/ui/ensure-nonbool.rs:8:198 |99 8 | struct NotBool(bool);100 | ^^^^^^^^^^^^^^96 = help: the following other types implement trait `__private::not::Bool`:97 &bool98 bool101help: the following other types implement trait `__private::not::Bool`102 --> src/lib.rs103 |104 | impl Bool for bool {105 | ^^^^^^^^^^^^^^^^^^ `bool`106...107 | impl Bool for &bool {108 | ^^^^^^^^^^^^^^^^^^^ `&bool`109note: required by a bound in `anyhow::__private::not`110 --> src/lib.rs111 |112 | pub fn not(cond: impl Bool) -> bool {
1 unmodified line