1 error[E0623]: lifetime mismatch
2 --> $DIR/region-multiple-lifetime-bounds-on-fns-where-clause.rs:19:10
4 LL | fn b<'a, 'b, 'c>(x: &mut &'a isize, y: &mut &'b isize, z: &mut &'c isize) {
5 | --------- --------- these two types are declared with different lifetimes...
6 LL | // Illegal now because there is no `'b:'a` declaration.
7 LL | *x = *y; //~ ERROR E0623
8 | ^^ ...but data from `y` flows into `x` here
10 error[E0623]: lifetime mismatch
11 --> $DIR/region-multiple-lifetime-bounds-on-fns-where-clause.rs:20:10
13 LL | fn b<'a, 'b, 'c>(x: &mut &'a isize, y: &mut &'b isize, z: &mut &'c isize) {
16 | these two types are declared with different lifetimes...
18 LL | *z = *y; //~ ERROR E0623
19 | ^^ ...but data from `y` flows into `z` here
21 error[E0623]: lifetime mismatch
22 --> $DIR/region-multiple-lifetime-bounds-on-fns-where-clause.rs:26:7
24 LL | fn c<'a,'b, 'c>(x: &mut &'a isize, y: &mut &'b isize, z: &mut &'c isize) {
25 | --------- --------- these two types are declared with different lifetimes...
27 LL | a(x, y, z); //~ ERROR 26:7: 26:8: lifetime mismatch [E0623]
28 | ^ ...but data from `y` flows into `x` here
30 error[E0308]: mismatched types
31 --> $DIR/region-multiple-lifetime-bounds-on-fns-where-clause.rs:32:56
33 LL | let _: fn(&mut &isize, &mut &isize, &mut &isize) = a; //~ ERROR mismatched types
34 | ^ expected concrete lifetime, found bound lifetime parameter
36 = note: expected type `for<'r, 's, 't0, 't1, 't2, 't3> fn(&'r mut &'s isize, &'t0 mut &'t1 isize, &'t2 mut &'t3 isize)`
37 found type `for<'r, 's, 't0> fn(&'r mut &isize, &'s mut &isize, &'t0 mut &isize) {a::<'_, '_, '_>}`
39 error: aborting due to 4 previous errors
41 Some errors occurred: E0308, E0623.
42 For more information about an error, try `rustc --explain E0308`.