@@ -14,12 +14,11 @@ LL | unsafe impl<'a, T: 'a> Zen for &'a T where T: Sync {}
1414note: required because it appears within the type `PhantomData<&T>`
1515 --> $SRC_DIR/core/src/marker.rs:LL:COL
1616note: required because it appears within the type `Guard<'_, T>`
17- --> $DIR/auto-trait-phantom-data-bounds.rs:12:8
17+ --> $DIR/auto-trait-phantom-data-bounds.rs:13:5
1818 |
1919LL | struct Guard<'a, T: 'a> {
20- | ^^^^^
2120LL | _marker: PhantomData<&'a T>,
22- | --------------------------- required by this field
21+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this field
2322note: required by a bound in `is_zen`
2423 --> $DIR/auto-trait-phantom-data-bounds.rs:18:14
2524 |
@@ -46,17 +45,16 @@ LL | unsafe impl<'a, T: 'a> Zen for &'a T where T: Sync {}
4645note: required because it appears within the type `PhantomData<&T>`
4746 --> $SRC_DIR/core/src/marker.rs:LL:COL
4847note: required because it appears within the type `Guard<'_, T>`
49- --> $DIR/auto-trait-phantom-data-bounds.rs:12:8
48+ --> $DIR/auto-trait-phantom-data-bounds.rs:13:5
5049 |
5150LL | struct Guard<'a, T: 'a> {
52- | ^^^^^
5351LL | _marker: PhantomData<&'a T>,
54- | --------------------------- required by this field
52+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this field
5553note: required because it appears within the type `Nested<Guard<'_, T>>`
56- --> $DIR/auto-trait-phantom-data-bounds.rs:16:8
54+ --> $DIR/auto-trait-phantom-data-bounds.rs:16:18
5755 |
5856LL | struct Nested<T>(T);
59- | ^^^^^^ - required by this field
57+ | ^ required by this field
6058note: required by a bound in `is_zen`
6159 --> $DIR/auto-trait-phantom-data-bounds.rs:18:14
6260 |
0 commit comments