]> git.lizzy.rs Git - rust.git/blob - src/test/ui/object-lifetime/object-lifetime-default.stderr
Auto merge of #95295 - CAD97:layout-isize, r=scottmcm
[rust.git] / src / test / ui / object-lifetime / object-lifetime-default.stderr
1 error: BaseDefault
2   --> $DIR/object-lifetime-default.rs:4:1
3    |
4 LL | struct A<T>(T);
5    | ^^^^^^^^^^^^^^^
6
7 error: BaseDefault
8   --> $DIR/object-lifetime-default.rs:7:1
9    |
10 LL | struct B<'a,T>(&'a (), T);
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: 'a
14   --> $DIR/object-lifetime-default.rs:10:1
15    |
16 LL | struct C<'a,T:'a>(&'a T);
17    | ^^^^^^^^^^^^^^^^^^^^^^^^^
18
19 error: Ambiguous
20   --> $DIR/object-lifetime-default.rs:13:1
21    |
22 LL | struct D<'a,'b,T:'a+'b>(&'a T, &'b T);
23    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
25 error: 'b
26   --> $DIR/object-lifetime-default.rs:16:1
27    |
28 LL | struct E<'a,'b:'a,T:'b>(&'a T, &'b T);
29    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30
31 error: 'a,'b
32   --> $DIR/object-lifetime-default.rs:19:1
33    |
34 LL | struct F<'a,'b,T:'a,U:'b>(&'a T, &'b U);
35    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36
37 error: 'a,Ambiguous
38   --> $DIR/object-lifetime-default.rs:22:1
39    |
40 LL | struct G<'a,'b,T:'a,U:'a+'b>(&'a T, &'b U);
41    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
42
43 error: aborting due to 7 previous errors
44