@@ -18,7 +18,7 @@ LL | f1(|_: (), _: ()| {});
1818 | expected signature of `fn(&(), &()) -> _`
1919...
2020LL | fn f1<F>(_: F) where F: Fn(&(), &()) {}
21- | -- ---------- required by this bound in `f1`
21+ | -- -- ---------- required by this bound in `f1`
2222
2323error[E0631]: type mismatch in closure arguments
2424 --> $DIR/anonymous-higher-ranked-lifetime.rs:4:5
@@ -40,7 +40,7 @@ LL | f2(|_: (), _: ()| {});
4040 | expected signature of `fn(&'a (), &()) -> _`
4141...
4242LL | fn f2<F>(_: F) where F: for<'a> Fn(&'a (), &()) {}
43- | -- ------------- required by this bound in `f2`
43+ | -- -- ------------- required by this bound in `f2`
4444
4545error[E0631]: type mismatch in closure arguments
4646 --> $DIR/anonymous-higher-ranked-lifetime.rs:6:5
@@ -62,7 +62,7 @@ LL | f3(|_: (), _: ()| {});
6262 | expected signature of `fn(&(), &()) -> _`
6363...
6464LL | fn f3<'a, F>(_: F) where F: Fn(&'a (), &()) {}
65- | -- ------------- required by this bound in `f3`
65+ | -- -- ------------- required by this bound in `f3`
6666
6767error[E0631]: type mismatch in closure arguments
6868 --> $DIR/anonymous-higher-ranked-lifetime.rs:8:5
@@ -84,7 +84,7 @@ LL | f4(|_: (), _: ()| {});
8484 | expected signature of `fn(&(), &'r ()) -> _`
8585...
8686LL | fn f4<F>(_: F) where F: for<'r> Fn(&(), &'r ()) {}
87- | -- ------------- required by this bound in `f4`
87+ | -- -- ------------- required by this bound in `f4`
8888
8989error[E0631]: type mismatch in closure arguments
9090 --> $DIR/anonymous-higher-ranked-lifetime.rs:10:5
@@ -106,7 +106,7 @@ LL | f5(|_: (), _: ()| {});
106106 | expected signature of `fn(&'r (), &'r ()) -> _`
107107...
108108LL | fn f5<F>(_: F) where F: for<'r> Fn(&'r (), &'r ()) {}
109- | -- ---------------- required by this bound in `f5`
109+ | -- -- ---------------- required by this bound in `f5`
110110
111111error[E0631]: type mismatch in closure arguments
112112 --> $DIR/anonymous-higher-ranked-lifetime.rs:12:5
@@ -128,7 +128,7 @@ LL | g1(|_: (), _: ()| {});
128128 | expected signature of `fn(&(), std::boxed::Box<(dyn for<'r> std::ops::Fn(&'r ()) + 'static)>) -> _`
129129...
130130LL | fn g1<F>(_: F) where F: Fn(&(), Box<dyn Fn(&())>) {}
131- | -- ----------------------- required by this bound in `g1`
131+ | -- -- ----------------------- required by this bound in `g1`
132132
133133error[E0631]: type mismatch in closure arguments
134134 --> $DIR/anonymous-higher-ranked-lifetime.rs:14:5
@@ -150,7 +150,7 @@ LL | g2(|_: (), _: ()| {});
150150 | expected signature of `fn(&(), for<'r> fn(&'r ())) -> _`
151151...
152152LL | fn g2<F>(_: F) where F: Fn(&(), fn(&())) {}
153- | -- -------------- required by this bound in `g2`
153+ | -- -- -------------- required by this bound in `g2`
154154
155155error[E0631]: type mismatch in closure arguments
156156 --> $DIR/anonymous-higher-ranked-lifetime.rs:16:5
@@ -172,7 +172,7 @@ LL | g3(|_: (), _: ()| {});
172172 | expected signature of `fn(&'s (), std::boxed::Box<(dyn for<'r> std::ops::Fn(&'r ()) + 'static)>) -> _`
173173...
174174LL | fn g3<F>(_: F) where F: for<'s> Fn(&'s (), Box<dyn Fn(&())>) {}
175- | -- -------------------------- required by this bound in `g3`
175+ | -- -- -------------------------- required by this bound in `g3`
176176
177177error[E0631]: type mismatch in closure arguments
178178 --> $DIR/anonymous-higher-ranked-lifetime.rs:18:5
@@ -194,7 +194,7 @@ LL | g4(|_: (), _: ()| {});
194194 | expected signature of `fn(&(), for<'r> fn(&'r ())) -> _`
195195...
196196LL | fn g4<F>(_: F) where F: Fn(&(), for<'r> fn(&'r ())) {}
197- | -- ------------------------- required by this bound in `g4`
197+ | -- -- ------------------------- required by this bound in `g4`
198198
199199error[E0631]: type mismatch in closure arguments
200200 --> $DIR/anonymous-higher-ranked-lifetime.rs:20:5
@@ -216,7 +216,7 @@ LL | h1(|_: (), _: (), _: (), _: ()| {});
216216 | expected signature of `fn(&(), std::boxed::Box<(dyn for<'r> std::ops::Fn(&'r ()) + 'static)>, &(), for<'r, 's> fn(&'r (), &'s ())) -> _`
217217...
218218LL | fn h1<F>(_: F) where F: Fn(&(), Box<dyn Fn(&())>, &(), fn(&(), &())) {}
219- | -- ------------------------------------------ required by this bound in `h1`
219+ | -- -- ------------------------------------------ required by this bound in `h1`
220220
221221error[E0631]: type mismatch in closure arguments
222222 --> $DIR/anonymous-higher-ranked-lifetime.rs:22:5
@@ -238,7 +238,7 @@ LL | h2(|_: (), _: (), _: (), _: ()| {});
238238 | expected signature of `fn(&(), std::boxed::Box<(dyn for<'r> std::ops::Fn(&'r ()) + 'static)>, &'t0 (), for<'r, 's> fn(&'r (), &'s ())) -> _`
239239...
240240LL | fn h2<F>(_: F) where F: for<'t0> Fn(&(), Box<dyn Fn(&())>, &'t0 (), fn(&(), &())) {}
241- | -- ---------------------------------------------- required by this bound in `h2`
241+ | -- -- ---------------------------------------------- required by this bound in `h2`
242242
243243error: aborting due to 22 previous errors
244244
0 commit comments