rust/src/test/ui/generics/generic-arg-mismatch-recover.stderr

22 lines
789 B
Plaintext
Raw Normal View History

2018-08-21 20:12:23 -05:00
error[E0107]: wrong number of lifetime arguments: expected 1, found 2
2018-12-25 09:56:47 -06:00
--> $DIR/generic-arg-mismatch-recover.rs:6:20
|
2019-03-09 06:03:44 -06:00
LL | Foo::<'static, 'static, ()>(&0);
| ^^^^^^^ unexpected lifetime argument
2018-08-21 20:12:23 -05:00
error[E0107]: wrong number of lifetime arguments: expected 1, found 2
--> $DIR/generic-arg-mismatch-recover.rs:8:20
|
2019-03-09 06:03:44 -06:00
LL | Bar::<'static, 'static, ()>(&());
| ^^^^^^^ unexpected lifetime argument
2018-08-21 20:12:23 -05:00
error[E0107]: wrong number of type arguments: expected 0, found 1
--> $DIR/generic-arg-mismatch-recover.rs:8:29
|
2019-03-09 06:03:44 -06:00
LL | Bar::<'static, 'static, ()>(&());
| ^^ unexpected type argument
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0107`.