2019-02-05 17:00:19 +01:00
|
|
|
error: lifetime arguments must be declared prior to type arguments
|
2019-01-12 19:25:03 -08:00
|
|
|
--> $DIR/trait-object-vs-lifetime.rs:14:25
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
|
LL | let _: S<'static +, 'static>;
|
2019-02-05 17:00:19 +01:00
|
|
|
| ^^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
error[E0224]: at least one non-builtin trait is required for an object type
|
2019-01-12 19:25:03 -08:00
|
|
|
--> $DIR/trait-object-vs-lifetime.rs:9:23
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
|
LL | let _: S<'static, 'static +>;
|
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
2018-08-20 00:08:01 +01:00
|
|
|
error[E0107]: wrong number of lifetime arguments: expected 1, found 2
|
2019-01-12 19:25:03 -08:00
|
|
|
--> $DIR/trait-object-vs-lifetime.rs:11:23
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
|
LL | let _: S<'static, 'static>;
|
2018-08-20 12:52:56 +01:00
|
|
|
| ^^^^^^^ unexpected lifetime argument
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2018-08-21 21:12:23 -04:00
|
|
|
error[E0107]: wrong number of type arguments: expected 1, found 0
|
2019-01-12 19:25:03 -08:00
|
|
|
--> $DIR/trait-object-vs-lifetime.rs:11:12
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
|
LL | let _: S<'static, 'static>;
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^ expected 1 type argument
|
|
|
|
|
|
|
|
|
|
error[E0224]: at least one non-builtin trait is required for an object type
|
2019-01-12 19:25:03 -08:00
|
|
|
--> $DIR/trait-object-vs-lifetime.rs:14:14
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
|
LL | let _: S<'static +, 'static>;
|
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|
|
2019-04-17 13:26:38 -04:00
|
|
|
For more information about this error, try `rustc --explain E0107`.
|