summaryrefslogtreecommitdiffstats
path: root/tests/ui/typeck/return_type_containing_closure.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/typeck/return_type_containing_closure.rs')
-rw-r--r--tests/ui/typeck/return_type_containing_closure.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/typeck/return_type_containing_closure.rs b/tests/ui/typeck/return_type_containing_closure.rs
index 29624e08a..8b826daee 100644
--- a/tests/ui/typeck/return_type_containing_closure.rs
+++ b/tests/ui/typeck/return_type_containing_closure.rs
@@ -2,7 +2,7 @@
fn foo() { //~ HELP a return type might be missing here
vec!['a'].iter().map(|c| c)
//~^ ERROR mismatched types [E0308]
- //~| NOTE expected `()`, found struct `Map`
+ //~| NOTE expected `()`, found `Map<Iter<'_, char>, ...>`
//~| NOTE expected unit type `()`
//~| HELP consider using a semicolon here
}