fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
550 B12 linesraw
1error[E0308]: mismatched types
2  --> $DIR/region-lifetime-bounds-on-fns-where-clause.rs:20:43
3   |
4LL |     let _: fn(&mut &isize, &mut &isize) = a;
5   |                                           ^ expected concrete lifetime, found bound lifetime parameter
6   |
7   = note: expected type `for<'r, 's, 't0, 't1> fn(&'r mut &'s isize, &'t0 mut &'t1 isize)`
8              found type `for<'r, 's> fn(&'r mut &isize, &'s mut &isize) {a::<'_, '_>}`
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0308`.