fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
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