]> git.lizzy.rs Git - rust.git/blob - src/test/ui/synthetic-param.stderr
alloc: `RawVec<T, A>::shrink` can be in `no_global_oom_handling`.
[rust.git] / src / test / ui / synthetic-param.stderr
1 error[E0632]: cannot provide explicit generic arguments when `impl Trait` is used in argument position
2   --> $DIR/synthetic-param.rs:20:12
3    |
4 LL |     func::<u8>(42);
5    |            ^^ explicit generic argument not allowed
6
7 error[E0632]: cannot provide explicit generic arguments when `impl Trait` is used in argument position
8   --> $DIR/synthetic-param.rs:23:17
9    |
10 LL |     Foo::func::<u8>(42);
11    |                 ^^ explicit generic argument not allowed
12
13 error[E0632]: cannot provide explicit generic arguments when `impl Trait` is used in argument position
14   --> $DIR/synthetic-param.rs:26:23
15    |
16 LL |     Bar::<i8>::func::<u8>(42);
17    |                       ^^ explicit generic argument not allowed
18
19 error: aborting due to 3 previous errors
20