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