fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
638 B20 linesraw
1error[E0632]: cannot provide explicit type parameters when `impl Trait` is used in argument position.
2  --> $DIR/synthetic-param.rs:20:5
3   |
4LL |     func::<u8>(42);
5   |     ^^^^^^^^^^
6
7error[E0632]: cannot provide explicit type parameters when `impl Trait` is used in argument position.
8  --> $DIR/synthetic-param.rs:23:5
9   |
10LL |     Foo::func::<u8>(42);
11   |     ^^^^^^^^^^^^^^^
12
13error[E0632]: cannot provide explicit type parameters when `impl Trait` is used in argument position.
14  --> $DIR/synthetic-param.rs:26:5
15   |
16LL |     Bar::<i8>::func::<u8>(42);
17   |     ^^^^^^^^^^^^^^^^^^^^^
18
19error: aborting due to 3 previous errors
20