rust/src/test/ui/synthetic-param.stderr

21 lines
638 B
Plaintext
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0632]: cannot provide explicit type parameters when `impl Trait` is used in argument position.
2018-12-25 08:56:47 -07:00
--> $DIR/synthetic-param.rs:20:5
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | func::<u8>(42);
2018-08-08 14:28:26 +02:00
| ^^^^^^^^^^
error[E0632]: cannot provide explicit type parameters when `impl Trait` is used in argument position.
2018-12-25 08:56:47 -07:00
--> $DIR/synthetic-param.rs:23:5
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | Foo::func::<u8>(42);
2018-08-08 14:28:26 +02:00
| ^^^^^^^^^^^^^^^
error[E0632]: cannot provide explicit type parameters when `impl Trait` is used in argument position.
2018-12-25 08:56:47 -07:00
--> $DIR/synthetic-param.rs:26:5
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | Bar::<i8>::func::<u8>(42);
2018-08-08 14:28:26 +02:00
| ^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 3 previous errors