fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
617 B14 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   |            expected due to this
8   |
9   = note: expected fn pointer `for<'r, 's, 't0, 't1> fn(&'r mut &'s isize, &'t0 mut &'t1 isize)`
10                 found fn item `for<'r, 's> fn(&'r mut &isize, &'s mut &isize) {a::<'_, '_>}`
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0308`.