1 error[E0224]: at least one trait is required for an object type
2 --> $DIR/trait-object-vs-lifetime.rs:9:23
4 LL | let _: S<'static, dyn 'static +>;
7 error[E0107]: wrong number of lifetime arguments: expected 1, found 2
8 --> $DIR/trait-object-vs-lifetime.rs:11:23
10 LL | let _: S<'static, 'static>;
11 | ^^^^^^^ unexpected lifetime argument
13 error[E0107]: wrong number of type arguments: expected 1, found 0
14 --> $DIR/trait-object-vs-lifetime.rs:11:12
16 LL | let _: S<'static, 'static>;
17 | ^^^^^^^^^^^^^^^^^^^ expected 1 type argument
19 error[E0224]: at least one trait is required for an object type
20 --> $DIR/trait-object-vs-lifetime.rs:14:14
22 LL | let _: S<dyn 'static +, 'static>;
25 error[E0747]: type provided when a lifetime was expected
26 --> $DIR/trait-object-vs-lifetime.rs:14:14
28 LL | let _: S<dyn 'static +, 'static>;
31 = note: lifetime arguments must be provided before type arguments
33 error: aborting due to 5 previous errors
35 Some errors have detailed explanations: E0107, E0224, E0747.
36 For more information about an error, try `rustc --explain E0107`.