@@ -2,7 +2,7 @@ error[E0631]: type mismatch in closure arguments
22 --> $DIR/anonymous-higher-ranked-lifetime.rs:12:5
33 |
4412 | f1(|_: (), _: ()| {}); //~ ERROR type mismatch
5- | ^^ ----------------- found signature of `fn((), ()) -> _`
5+ | ^^ -------------- found signature of `fn((), ()) -> _`
66 | |
77 | expected signature of `for<'r, 's> fn(&'r (), &'s ()) -> _`
88 |
@@ -12,7 +12,7 @@ error[E0631]: type mismatch in closure arguments
1212 --> $DIR/anonymous-higher-ranked-lifetime.rs:13:5
1313 |
141413 | f2(|_: (), _: ()| {}); //~ ERROR type mismatch
15- | ^^ ----------------- found signature of `fn((), ()) -> _`
15+ | ^^ -------------- found signature of `fn((), ()) -> _`
1616 | |
1717 | expected signature of `for<'a, 'r> fn(&'a (), &'r ()) -> _`
1818 |
@@ -22,7 +22,7 @@ error[E0631]: type mismatch in closure arguments
2222 --> $DIR/anonymous-higher-ranked-lifetime.rs:14:5
2323 |
242414 | f3(|_: (), _: ()| {}); //~ ERROR type mismatch
25- | ^^ ----------------- found signature of `fn((), ()) -> _`
25+ | ^^ -------------- found signature of `fn((), ()) -> _`
2626 | |
2727 | expected signature of `for<'r> fn(&(), &'r ()) -> _`
2828 |
@@ -32,7 +32,7 @@ error[E0631]: type mismatch in closure arguments
3232 --> $DIR/anonymous-higher-ranked-lifetime.rs:15:5
3333 |
343415 | f4(|_: (), _: ()| {}); //~ ERROR type mismatch
35- | ^^ ----------------- found signature of `fn((), ()) -> _`
35+ | ^^ -------------- found signature of `fn((), ()) -> _`
3636 | |
3737 | expected signature of `for<'s, 'r> fn(&'s (), &'r ()) -> _`
3838 |
@@ -42,7 +42,7 @@ error[E0631]: type mismatch in closure arguments
4242 --> $DIR/anonymous-higher-ranked-lifetime.rs:16:5
4343 |
444416 | f5(|_: (), _: ()| {}); //~ ERROR type mismatch
45- | ^^ ----------------- found signature of `fn((), ()) -> _`
45+ | ^^ -------------- found signature of `fn((), ()) -> _`
4646 | |
4747 | expected signature of `for<'r> fn(&'r (), &'r ()) -> _`
4848 |
@@ -52,7 +52,7 @@ error[E0631]: type mismatch in closure arguments
5252 --> $DIR/anonymous-higher-ranked-lifetime.rs:17:5
5353 |
545417 | g1(|_: (), _: ()| {}); //~ ERROR type mismatch
55- | ^^ ----------------- found signature of `fn((), ()) -> _`
55+ | ^^ -------------- found signature of `fn((), ()) -> _`
5656 | |
5757 | expected signature of `for<'r> fn(&'r (), std::boxed::Box<for<'s> std::ops::Fn(&'s ()) + 'static>) -> _`
5858 |
@@ -62,7 +62,7 @@ error[E0631]: type mismatch in closure arguments
6262 --> $DIR/anonymous-higher-ranked-lifetime.rs:18:5
6363 |
646418 | g2(|_: (), _: ()| {}); //~ ERROR type mismatch
65- | ^^ ----------------- found signature of `fn((), ()) -> _`
65+ | ^^ -------------- found signature of `fn((), ()) -> _`
6666 | |
6767 | expected signature of `for<'r> fn(&'r (), for<'s> fn(&'s ())) -> _`
6868 |
@@ -72,7 +72,7 @@ error[E0631]: type mismatch in closure arguments
7272 --> $DIR/anonymous-higher-ranked-lifetime.rs:19:5
7373 |
747419 | g3(|_: (), _: ()| {}); //~ ERROR type mismatch
75- | ^^ ----------------- found signature of `fn((), ()) -> _`
75+ | ^^ -------------- found signature of `fn((), ()) -> _`
7676 | |
7777 | expected signature of `for<'s> fn(&'s (), std::boxed::Box<for<'r> std::ops::Fn(&'r ()) + 'static>) -> _`
7878 |
@@ -82,7 +82,7 @@ error[E0631]: type mismatch in closure arguments
8282 --> $DIR/anonymous-higher-ranked-lifetime.rs:20:5
8383 |
848420 | g4(|_: (), _: ()| {}); //~ ERROR type mismatch
85- | ^^ ----------------- found signature of `fn((), ()) -> _`
85+ | ^^ -------------- found signature of `fn((), ()) -> _`
8686 | |
8787 | expected signature of `for<'s> fn(&'s (), for<'r> fn(&'r ())) -> _`
8888 |
@@ -92,7 +92,7 @@ error[E0631]: type mismatch in closure arguments
9292 --> $DIR/anonymous-higher-ranked-lifetime.rs:21:5
9393 |
949421 | h1(|_: (), _: (), _: (), _: ()| {}); //~ ERROR type mismatch
95- | ^^ ------------------------------- found signature of `fn((), (), (), ()) -> _`
95+ | ^^ ---------------------------- found signature of `fn((), (), (), ()) -> _`
9696 | |
9797 | expected signature of `for<'r, 's> fn(&'r (), std::boxed::Box<for<'t0> std::ops::Fn(&'t0 ()) + 'static>, &'s (), for<'t0, 't1> fn(&'t0 (), &'t1 ())) -> _`
9898 |
@@ -102,7 +102,7 @@ error[E0631]: type mismatch in closure arguments
102102 --> $DIR/anonymous-higher-ranked-lifetime.rs:22:5
103103 |
10410422 | h2(|_: (), _: (), _: (), _: ()| {}); //~ ERROR type mismatch
105- | ^^ ------------------------------- found signature of `fn((), (), (), ()) -> _`
105+ | ^^ ---------------------------- found signature of `fn((), (), (), ()) -> _`
106106 | |
107107 | expected signature of `for<'r, 't0> fn(&'r (), std::boxed::Box<for<'s> std::ops::Fn(&'s ()) + 'static>, &'t0 (), for<'s, 't1> fn(&'s (), &'t1 ())) -> _`
108108 |
0 commit comments