]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-60283.stderr
Rollup merge of #87354 - Wind-River:2021_master, r=kennytm
[rust.git] / src / test / ui / issues / issue-60283.stderr
index 650570b6471eb13266ce99e8273e68350eaaf272..149562f8fb31c7e61d832fc8e1e9fcf1c2350628 100644 (file)
@@ -10,7 +10,7 @@ LL |     F: for<'a> FnMut(<T as Trait<'a>>::Item),
 LL |     foo((), drop)
    |             ^^^^
    |             |
-   |             expected signature of `fn(<() as Trait<'a>>::Item) -> _`
+   |             expected signature of `for<'a> fn(<() as Trait<'a>>::Item) -> _`
    |             found signature of `fn(()) -> _`
 
 error[E0277]: the size for values of type `<() as Trait<'_>>::Item` cannot be known at compilation time