]> git.proxmox.com Git - rustc.git/blob - src/test/ui/traits/trait-object-vs-lifetime.stderr
New upstream version 1.34.2+dfsg1
[rustc.git] / src / test / ui / traits / trait-object-vs-lifetime.stderr
1 error: lifetime arguments must be declared prior to type arguments
2 --> $DIR/trait-object-vs-lifetime.rs:14:25
3 |
4 LL | let _: S<'static +, 'static>;
5 | ^^^^^^^
6
7 error[E0224]: at least one non-builtin trait is required for an object type
8 --> $DIR/trait-object-vs-lifetime.rs:9:23
9 |
10 LL | let _: S<'static, 'static +>;
11 | ^^^^^^^^^
12
13 error[E0107]: wrong number of lifetime arguments: expected 1, found 2
14 --> $DIR/trait-object-vs-lifetime.rs:11:23
15 |
16 LL | let _: S<'static, 'static>;
17 | ^^^^^^^ unexpected lifetime argument
18
19 error[E0107]: wrong number of type arguments: expected 1, found 0
20 --> $DIR/trait-object-vs-lifetime.rs:11:12
21 |
22 LL | let _: S<'static, 'static>;
23 | ^^^^^^^^^^^^^^^^^^^ expected 1 type argument
24
25 error[E0224]: at least one non-builtin trait is required for an object type
26 --> $DIR/trait-object-vs-lifetime.rs:14:14
27 |
28 LL | let _: S<'static +, 'static>;
29 | ^^^^^^^^^
30
31 error: aborting due to 5 previous errors
32
33 Some errors occurred: E0107, E0224.
34 For more information about an error, try `rustc --explain E0107`.