Fix test output.

This commit is contained in:
Stephen Chung 2022-03-14 12:04:24 +08:00
parent 63716759be
commit 6223e1a6f1
2 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
error[E0599]: the method `map` exists for type `bool`, but its trait bounds were not satisfied
error[E0599]: `bool` is not an iterator
--> ui_tests/export_fn_raw_return.rs:10:33
|
10 | pub fn test_fn(input: Point) -> bool {
| ^^^^ method cannot be called on `bool` due to unsatisfied trait bounds
| ^^^^ `bool` is not an iterator
|
= note: the following trait bounds were not satisfied:
`bool: std::iter::Iterator`

View File

@ -1,8 +1,8 @@
error[E0599]: the method `map` exists for type `bool`, but its trait bounds were not satisfied
error[E0599]: `bool` is not an iterator
--> ui_tests/export_mod_raw_return.rs:12:33
|
12 | pub fn test_fn(input: Point) -> bool {
| ^^^^ method cannot be called on `bool` due to unsatisfied trait bounds
| ^^^^ `bool` is not an iterator
|
= note: the following trait bounds were not satisfied:
`bool: std::iter::Iterator`