summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/issue-104961.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/suggestions/issue-104961.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/suggestions/issue-104961.rs b/tests/ui/suggestions/issue-104961.rs
index aeb787abb..25a8e0c45 100644
--- a/tests/ui/suggestions/issue-104961.rs
+++ b/tests/ui/suggestions/issue-104961.rs
@@ -2,12 +2,12 @@
fn foo(x: &str) -> bool {
x.starts_with("hi".to_string() + " you")
- //~^ ERROR expected a `FnMut<(char,)>` closure, found `String`
+ //~^ ERROR expected a `FnMut(char)` closure, found `String`
}
fn foo2(x: &str) -> bool {
x.starts_with("hi".to_string())
- //~^ ERROR expected a `FnMut<(char,)>` closure, found `String`
+ //~^ ERROR expected a `FnMut(char)` closure, found `String`
}
fn main() {