Skip to content

Commit 238415d

Browse files
committed
Update ui test suite to nightly-2025-08-24
1 parent 3bab070 commit 238415d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

tests/ui/ensure-nonbool.stderr

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,14 @@ error[E0277]: the trait bound `DerefBool: __private::not::Bool` is not satisfied
4242
33 | ensure!(db);
4343
| --------^^-
4444
| | |
45-
| | the trait `__private::not::Bool` is not implemented for `DerefBool`
45+
| | unsatisfied trait bound
4646
| required by a bound introduced by this call
4747
|
48+
help: the trait `__private::not::Bool` is not implemented for `DerefBool`
49+
--> tests/ui/ensure-nonbool.rs:6:1
50+
|
51+
6 | struct DerefBool(bool);
52+
| ^^^^^^^^^^^^^^^^
4853
note: required by a bound in `anyhow::__private::not`
4954
--> src/lib.rs
5055
|
@@ -80,9 +85,14 @@ error[E0277]: the trait bound `NotBool: __private::not::Bool` is not satisfied
8085
37 | ensure!(nb);
8186
| --------^^-
8287
| | |
83-
| | the trait `__private::not::Bool` is not implemented for `NotBool`
88+
| | unsatisfied trait bound
8489
| required by a bound introduced by this call
8590
|
91+
help: the trait `__private::not::Bool` is not implemented for `NotBool`
92+
--> tests/ui/ensure-nonbool.rs:8:1
93+
|
94+
8 | struct NotBool(bool);
95+
| ^^^^^^^^^^^^^^
8696
= help: the following other types implement trait `__private::not::Bool`:
8797
&bool
8898
bool

0 commit comments

Comments
 (0)