summary refs log tree commit diff
path: root/src/test/ui/synthetic-param.stderr
blob: 951d7edb7f523ec14cbd3ad24f921b9d963fe8a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error[E0632]: cannot provide explicit generic arguments when `impl Trait` is used in argument position
  --> $DIR/synthetic-param.rs:20:12
   |
LL |     func::<u8>(42);
   |            ^^ explicit generic argument not allowed

error[E0632]: cannot provide explicit generic arguments when `impl Trait` is used in argument position
  --> $DIR/synthetic-param.rs:23:17
   |
LL |     Foo::func::<u8>(42);
   |                 ^^ explicit generic argument not allowed

error[E0632]: cannot provide explicit generic arguments when `impl Trait` is used in argument position
  --> $DIR/synthetic-param.rs:26:23
   |
LL |     Bar::<i8>::func::<u8>(42);
   |                       ^^ explicit generic argument not allowed

error: aborting due to 3 previous errors