@@ -13,7 +13,7 @@ help: borrowed types always have a statically known size
1313 |
1414LL | VA(&W),
1515 | ^
16- help: heap allocated types always have a statically known size
16+ help: the `Box` type always has a statically known size and allocates its contents in the heap
1717 |
1818LL | VA(Box<W>),
1919 | ^^^^ ^
@@ -33,7 +33,7 @@ help: borrowed types always have a statically known size
3333 |
3434LL | VB{x: &X},
3535 | ^
36- help: heap allocated types always have a statically known size
36+ help: the `Box` type always has a statically known size and allocates its contents in the heap
3737 |
3838LL | VB{x: Box<X>},
3939 | ^^^^ ^
@@ -53,7 +53,7 @@ help: borrowed types always have a statically known size
5353 |
5454LL | VC(isize, &Y),
5555 | ^
56- help: heap allocated types always have a statically known size
56+ help: the `Box` type always has a statically known size and allocates its contents in the heap
5757 |
5858LL | VC(isize, Box<Y>),
5959 | ^^^^ ^
@@ -73,7 +73,7 @@ help: borrowed types always have a statically known size
7373 |
7474LL | VD{u: isize, x: &Z},
7575 | ^
76- help: heap allocated types always have a statically known size
76+ help: the `Box` type always has a statically known size and allocates its contents in the heap
7777 |
7878LL | VD{u: isize, x: Box<Z>},
7979 | ^^^^ ^
@@ -91,7 +91,7 @@ help: borrowed types always have a statically known size
9191 |
9292LL | VE(&[u8]),
9393 | ^
94- help: heap allocated types always have a statically known size
94+ help: the `Box` type always has a statically known size and allocates its contents in the heap
9595 |
9696LL | VE(Box<[u8]>),
9797 | ^^^^ ^
@@ -109,7 +109,7 @@ help: borrowed types always have a statically known size
109109 |
110110LL | VF{x: &str},
111111 | ^
112- help: heap allocated types always have a statically known size
112+ help: the `Box` type always has a statically known size and allocates its contents in the heap
113113 |
114114LL | VF{x: Box<str>},
115115 | ^^^^ ^
@@ -127,7 +127,7 @@ help: borrowed types always have a statically known size
127127 |
128128LL | VG(isize, &[f32]),
129129 | ^
130- help: heap allocated types always have a statically known size
130+ help: the `Box` type always has a statically known size and allocates its contents in the heap
131131 |
132132LL | VG(isize, Box<[f32]>),
133133 | ^^^^ ^
@@ -145,7 +145,7 @@ help: borrowed types always have a statically known size
145145 |
146146LL | VH{u: isize, x: &[u32]},
147147 | ^
148- help: heap allocated types always have a statically known size
148+ help: the `Box` type always has a statically known size and allocates its contents in the heap
149149 |
150150LL | VH{u: isize, x: Box<[u32]>},
151151 | ^^^^ ^
@@ -163,7 +163,7 @@ help: borrowed types always have a statically known size
163163 |
164164LL | VM(&dyn Foo),
165165 | ^
166- help: heap allocated types always have a statically known size
166+ help: the `Box` type always has a statically known size and allocates its contents in the heap
167167 |
168168LL | VM(Box<dyn Foo>),
169169 | ^^^^ ^
@@ -181,7 +181,7 @@ help: borrowed types always have a statically known size
181181 |
182182LL | VN{x: &dyn Bar},
183183 | ^
184- help: heap allocated types always have a statically known size
184+ help: the `Box` type always has a statically known size and allocates its contents in the heap
185185 |
186186LL | VN{x: Box<dyn Bar>},
187187 | ^^^^ ^
@@ -199,7 +199,7 @@ help: borrowed types always have a statically known size
199199 |
200200LL | VO(isize, &dyn FooBar),
201201 | ^
202- help: heap allocated types always have a statically known size
202+ help: the `Box` type always has a statically known size and allocates its contents in the heap
203203 |
204204LL | VO(isize, Box<dyn FooBar>),
205205 | ^^^^ ^
@@ -217,7 +217,7 @@ help: borrowed types always have a statically known size
217217 |
218218LL | VP{u: isize, x: &dyn BarFoo},
219219 | ^
220- help: heap allocated types always have a statically known size
220+ help: the `Box` type always has a statically known size and allocates its contents in the heap
221221 |
222222LL | VP{u: isize, x: Box<dyn BarFoo>},
223223 | ^^^^ ^
@@ -235,7 +235,7 @@ help: borrowed types always have a statically known size
235235 |
236236LL | VQ(&<&'static [i8] as Deref>::Target),
237237 | ^
238- help: heap allocated types always have a statically known size
238+ help: the `Box` type always has a statically known size and allocates its contents in the heap
239239 |
240240LL | VQ(Box<<&'static [i8] as Deref>::Target>),
241241 | ^^^^ ^
@@ -253,7 +253,7 @@ help: borrowed types always have a statically known size
253253 |
254254LL | VR{x: &<&'static [char] as Deref>::Target},
255255 | ^
256- help: heap allocated types always have a statically known size
256+ help: the `Box` type always has a statically known size and allocates its contents in the heap
257257 |
258258LL | VR{x: Box<<&'static [char] as Deref>::Target>},
259259 | ^^^^ ^
@@ -271,7 +271,7 @@ help: borrowed types always have a statically known size
271271 |
272272LL | VS(isize, &<&'static [f64] as Deref>::Target),
273273 | ^
274- help: heap allocated types always have a statically known size
274+ help: the `Box` type always has a statically known size and allocates its contents in the heap
275275 |
276276LL | VS(isize, Box<<&'static [f64] as Deref>::Target>),
277277 | ^^^^ ^
@@ -289,7 +289,7 @@ help: borrowed types always have a statically known size
289289 |
290290LL | VT{u: isize, x: &<&'static [i32] as Deref>::Target},
291291 | ^
292- help: heap allocated types always have a statically known size
292+ help: the `Box` type always has a statically known size and allocates its contents in the heap
293293 |
294294LL | VT{u: isize, x: Box<<&'static [i32] as Deref>::Target>},
295295 | ^^^^ ^
@@ -308,7 +308,7 @@ help: borrowed types always have a statically known size
308308 |
309309LL | VI(&Path1),
310310 | ^
311- help: heap allocated types always have a statically known size
311+ help: the `Box` type always has a statically known size and allocates its contents in the heap
312312 |
313313LL | VI(Box<Path1>),
314314 | ^^^^ ^
@@ -327,7 +327,7 @@ help: borrowed types always have a statically known size
327327 |
328328LL | VJ{x: &Path2},
329329 | ^
330- help: heap allocated types always have a statically known size
330+ help: the `Box` type always has a statically known size and allocates its contents in the heap
331331 |
332332LL | VJ{x: Box<Path2>},
333333 | ^^^^ ^
@@ -346,7 +346,7 @@ help: borrowed types always have a statically known size
346346 |
347347LL | VK(isize, &Path3),
348348 | ^
349- help: heap allocated types always have a statically known size
349+ help: the `Box` type always has a statically known size and allocates its contents in the heap
350350 |
351351LL | VK(isize, Box<Path3>),
352352 | ^^^^ ^
@@ -365,7 +365,7 @@ help: borrowed types always have a statically known size
365365 |
366366LL | VL{u: isize, x: &Path4},
367367 | ^
368- help: heap allocated types always have a statically known size
368+ help: the `Box` type always has a statically known size and allocates its contents in the heap
369369 |
370370LL | VL{u: isize, x: Box<Path4>},
371371 | ^^^^ ^
0 commit comments