From 6223e1a6f17a769651dc51c5a229559ad05c2903 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Mon, 14 Mar 2022 12:04:24 +0800 Subject: [PATCH] Fix test output. --- codegen/ui_tests/export_fn_raw_return.stderr | 4 ++-- codegen/ui_tests/export_mod_raw_return.stderr | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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`