fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.5 KiB38 linesraw
1error: higher kinded lifetime bounds on nested opaque types are not supported yet
2  --> $DIR/issue-88236-2.rs:15:61
3   |
4LL | fn make_impl() -> impl for<'a> Hrtb<'a, Assoc = impl Send + 'a> {}
5   |                                                             ^^
6   |
7note: lifetime declared here
8  --> $DIR/issue-88236-2.rs:15:28
9   |
10LL | fn make_impl() -> impl for<'a> Hrtb<'a, Assoc = impl Send + 'a> {}
11   |                            ^^
12
13error: higher kinded lifetime bounds on nested opaque types are not supported yet
14  --> $DIR/issue-88236-2.rs:18:80
15   |
16LL | fn make_weird_impl<'b>(x: &'b ()) -> impl for<'a> Hrtb<'a, Assoc = impl Send + 'a> {
17   |                                                                                ^^
18   |
19note: lifetime declared here
20  --> $DIR/issue-88236-2.rs:18:47
21   |
22LL | fn make_weird_impl<'b>(x: &'b ()) -> impl for<'a> Hrtb<'a, Assoc = impl Send + 'a> {
23   |                                               ^^
24
25error: higher kinded lifetime bounds on nested opaque types are not supported yet
26  --> $DIR/issue-88236-2.rs:23:78
27   |
28LL | fn make_bad_impl<'b>(x: &'b ()) -> impl for<'a> Hrtb<'a, Assoc = impl Send + 'a> {
29   |                                                                              ^^
30   |
31note: lifetime declared here
32  --> $DIR/issue-88236-2.rs:23:45
33   |
34LL | fn make_bad_impl<'b>(x: &'b ()) -> impl for<'a> Hrtb<'a, Assoc = impl Send + 'a> {
35   |                                             ^^
36
37error: aborting due to 3 previous errors
38