2021-03-22 04:18:09 +01:00
|
|
|
error[E0599]: the method `map` exists for type `bool`, but its trait bounds were not satisfied
|
|
|
|
--> $DIR/export_mod_raw_return.rs:12:33
|
2020-08-28 06:11:22 +02:00
|
|
|
|
|
|
|
|
12 | pub fn test_fn(input: Point) -> bool {
|
2021-03-22 04:18:09 +01:00
|
|
|
| ^^^^ method cannot be called on `bool` due to unsatisfied trait bounds
|
2020-08-28 06:11:22 +02:00
|
|
|
|
|
2021-03-22 04:18:09 +01:00
|
|
|
= note: the following trait bounds were not satisfied:
|
|
|
|
`bool: std::iter::Iterator`
|
|
|
|
which is required by `&mut bool: std::iter::Iterator`
|