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