@@ -28,7 +28,7 @@ LL | x as _
2828 = note: requirement occurs because of a mutable pointer to `dyn Send`
2929 = note: mutable pointers are invariant over their type parameter
3030 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
31- note: raw pointer casts of trait objects do not cast away lifetimes
31+ note: raw pointer casts of trait objects cannot extend lifetimes
3232 --> $DIR/ptr-to-ptr-principalless.rs:8:5
3333 |
3434LL | x as _
@@ -47,7 +47,7 @@ LL | x as _
4747 = note: requirement occurs because of a mutable pointer to `dyn Send`
4848 = note: mutable pointers are invariant over their type parameter
4949 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
50- note: raw pointer casts of trait objects do not cast away lifetimes
50+ note: raw pointer casts of trait objects cannot extend lifetimes
5151 --> $DIR/ptr-to-ptr-principalless.rs:13:5
5252 |
5353LL | x as _
@@ -79,7 +79,7 @@ LL | x as _
7979 = note: requirement occurs because of a mutable pointer to `Wrapper<dyn Send>`
8080 = note: mutable pointers are invariant over their type parameter
8181 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
82- note: raw pointer casts of trait objects do not cast away lifetimes
82+ note: raw pointer casts of trait objects cannot extend lifetimes
8383 --> $DIR/ptr-to-ptr-principalless.rs:18:5
8484 |
8585LL | x as _
@@ -98,7 +98,7 @@ LL | x as _
9898 = note: requirement occurs because of a mutable pointer to `Wrapper<dyn Send>`
9999 = note: mutable pointers are invariant over their type parameter
100100 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
101- note: raw pointer casts of trait objects do not cast away lifetimes
101+ note: raw pointer casts of trait objects cannot extend lifetimes
102102 --> $DIR/ptr-to-ptr-principalless.rs:23:5
103103 |
104104LL | x as _
@@ -130,7 +130,7 @@ LL | x as _
130130 = note: requirement occurs because of a mutable pointer to `dyn Sync`
131131 = note: mutable pointers are invariant over their type parameter
132132 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
133- note: raw pointer casts of trait objects do not cast away lifetimes
133+ note: raw pointer casts of trait objects cannot extend lifetimes
134134 --> $DIR/ptr-to-ptr-principalless.rs:30:5
135135 |
136136LL | x as _
@@ -149,7 +149,7 @@ LL | x as _
149149 = note: requirement occurs because of a mutable pointer to `dyn Sync`
150150 = note: mutable pointers are invariant over their type parameter
151151 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
152- note: raw pointer casts of trait objects do not cast away lifetimes
152+ note: raw pointer casts of trait objects cannot extend lifetimes
153153 --> $DIR/ptr-to-ptr-principalless.rs:35:5
154154 |
155155LL | x as _
@@ -181,7 +181,7 @@ LL | x as _
181181 = note: requirement occurs because of a mutable pointer to `Wrapper<dyn Sync>`
182182 = note: mutable pointers are invariant over their type parameter
183183 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
184- note: raw pointer casts of trait objects do not cast away lifetimes
184+ note: raw pointer casts of trait objects cannot extend lifetimes
185185 --> $DIR/ptr-to-ptr-principalless.rs:40:5
186186 |
187187LL | x as _
@@ -200,7 +200,7 @@ LL | x as _
200200 = note: requirement occurs because of a mutable pointer to `Wrapper<dyn Sync>`
201201 = note: mutable pointers are invariant over their type parameter
202202 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
203- note: raw pointer casts of trait objects do not cast away lifetimes
203+ note: raw pointer casts of trait objects cannot extend lifetimes
204204 --> $DIR/ptr-to-ptr-principalless.rs:45:5
205205 |
206206LL | x as _
@@ -232,7 +232,7 @@ LL | x as _
232232 = note: requirement occurs because of a mutable pointer to `dyn Send`
233233 = note: mutable pointers are invariant over their type parameter
234234 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
235- note: raw pointer casts of trait objects do not cast away lifetimes
235+ note: raw pointer casts of trait objects cannot extend lifetimes
236236 --> $DIR/ptr-to-ptr-principalless.rs:53:5
237237 |
238238LL | x as _
@@ -251,7 +251,7 @@ LL | x as _
251251 = note: requirement occurs because of a mutable pointer to `dyn Send`
252252 = note: mutable pointers are invariant over their type parameter
253253 = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
254- note: raw pointer casts of trait objects do not cast away lifetimes
254+ note: raw pointer casts of trait objects cannot extend lifetimes
255255 --> $DIR/ptr-to-ptr-principalless.rs:58:5
256256 |
257257LL | x as _
0 commit comments