fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
460 B10 linesraw
1error[E0632]: cannot provide explicit generic arguments when `impl Trait` is used in argument position
2  --> $DIR/universal-turbofish-in-method-issue-50950.rs:14:24
3   |
4LL |     evt.handle_event::<TestEvent, fn(TestEvent)>(|_evt| {
5   |                        ^^^^^^^^^  ^^^^^^^^^^^^^ explicit generic argument not allowed
6   |                        |
7   |                        explicit generic argument not allowed
8
9error: aborting due to previous error
10