diff --git a/codegen/ui_tests/export_fn_raw_return.stderr b/codegen/ui_tests/export_fn_raw_return.stderr index 094b6756..576e999f 100644 --- a/codegen/ui_tests/export_fn_raw_return.stderr +++ b/codegen/ui_tests/export_fn_raw_return.stderr @@ -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` diff --git a/codegen/ui_tests/export_mod_raw_return.stderr b/codegen/ui_tests/export_mod_raw_return.stderr index 93ad1364..55e1d185 100644 --- a/codegen/ui_tests/export_mod_raw_return.stderr +++ b/codegen/ui_tests/export_mod_raw_return.stderr @@ -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`