@@ -13,7 +13,7 @@ help: borrowed types always have a statically known size
13
13
|
14
14
LL | VA(&W),
15
15
| ^
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
17
17
|
18
18
LL | VA(Box<W>),
19
19
| ^^^^ ^
@@ -33,7 +33,7 @@ help: borrowed types always have a statically known size
33
33
|
34
34
LL | VB{x: &X},
35
35
| ^
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
37
37
|
38
38
LL | VB{x: Box<X>},
39
39
| ^^^^ ^
@@ -53,7 +53,7 @@ help: borrowed types always have a statically known size
53
53
|
54
54
LL | VC(isize, &Y),
55
55
| ^
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
57
57
|
58
58
LL | VC(isize, Box<Y>),
59
59
| ^^^^ ^
@@ -73,7 +73,7 @@ help: borrowed types always have a statically known size
73
73
|
74
74
LL | VD{u: isize, x: &Z},
75
75
| ^
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
77
77
|
78
78
LL | VD{u: isize, x: Box<Z>},
79
79
| ^^^^ ^
@@ -91,7 +91,7 @@ help: borrowed types always have a statically known size
91
91
|
92
92
LL | VE(&[u8]),
93
93
| ^
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
95
95
|
96
96
LL | VE(Box<[u8]>),
97
97
| ^^^^ ^
@@ -109,7 +109,7 @@ help: borrowed types always have a statically known size
109
109
|
110
110
LL | VF{x: &str},
111
111
| ^
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
113
113
|
114
114
LL | VF{x: Box<str>},
115
115
| ^^^^ ^
@@ -127,7 +127,7 @@ help: borrowed types always have a statically known size
127
127
|
128
128
LL | VG(isize, &[f32]),
129
129
| ^
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
131
131
|
132
132
LL | VG(isize, Box<[f32]>),
133
133
| ^^^^ ^
@@ -145,7 +145,7 @@ help: borrowed types always have a statically known size
145
145
|
146
146
LL | VH{u: isize, x: &[u32]},
147
147
| ^
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
149
149
|
150
150
LL | VH{u: isize, x: Box<[u32]>},
151
151
| ^^^^ ^
@@ -163,7 +163,7 @@ help: borrowed types always have a statically known size
163
163
|
164
164
LL | VM(&dyn Foo),
165
165
| ^
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
167
167
|
168
168
LL | VM(Box<dyn Foo>),
169
169
| ^^^^ ^
@@ -181,7 +181,7 @@ help: borrowed types always have a statically known size
181
181
|
182
182
LL | VN{x: &dyn Bar},
183
183
| ^
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
185
185
|
186
186
LL | VN{x: Box<dyn Bar>},
187
187
| ^^^^ ^
@@ -199,7 +199,7 @@ help: borrowed types always have a statically known size
199
199
|
200
200
LL | VO(isize, &dyn FooBar),
201
201
| ^
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
203
203
|
204
204
LL | VO(isize, Box<dyn FooBar>),
205
205
| ^^^^ ^
@@ -217,7 +217,7 @@ help: borrowed types always have a statically known size
217
217
|
218
218
LL | VP{u: isize, x: &dyn BarFoo},
219
219
| ^
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
221
221
|
222
222
LL | VP{u: isize, x: Box<dyn BarFoo>},
223
223
| ^^^^ ^
@@ -235,7 +235,7 @@ help: borrowed types always have a statically known size
235
235
|
236
236
LL | VQ(&<&'static [i8] as Deref>::Target),
237
237
| ^
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
239
239
|
240
240
LL | VQ(Box<<&'static [i8] as Deref>::Target>),
241
241
| ^^^^ ^
@@ -253,7 +253,7 @@ help: borrowed types always have a statically known size
253
253
|
254
254
LL | VR{x: &<&'static [char] as Deref>::Target},
255
255
| ^
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
257
257
|
258
258
LL | VR{x: Box<<&'static [char] as Deref>::Target>},
259
259
| ^^^^ ^
@@ -271,7 +271,7 @@ help: borrowed types always have a statically known size
271
271
|
272
272
LL | VS(isize, &<&'static [f64] as Deref>::Target),
273
273
| ^
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
275
275
|
276
276
LL | VS(isize, Box<<&'static [f64] as Deref>::Target>),
277
277
| ^^^^ ^
@@ -289,7 +289,7 @@ help: borrowed types always have a statically known size
289
289
|
290
290
LL | VT{u: isize, x: &<&'static [i32] as Deref>::Target},
291
291
| ^
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
293
293
|
294
294
LL | VT{u: isize, x: Box<<&'static [i32] as Deref>::Target>},
295
295
| ^^^^ ^
@@ -308,7 +308,7 @@ help: borrowed types always have a statically known size
308
308
|
309
309
LL | VI(&Path1),
310
310
| ^
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
312
312
|
313
313
LL | VI(Box<Path1>),
314
314
| ^^^^ ^
@@ -327,7 +327,7 @@ help: borrowed types always have a statically known size
327
327
|
328
328
LL | VJ{x: &Path2},
329
329
| ^
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
331
331
|
332
332
LL | VJ{x: Box<Path2>},
333
333
| ^^^^ ^
@@ -346,7 +346,7 @@ help: borrowed types always have a statically known size
346
346
|
347
347
LL | VK(isize, &Path3),
348
348
| ^
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
350
350
|
351
351
LL | VK(isize, Box<Path3>),
352
352
| ^^^^ ^
@@ -365,7 +365,7 @@ help: borrowed types always have a statically known size
365
365
|
366
366
LL | VL{u: isize, x: &Path4},
367
367
| ^
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
369
369
|
370
370
LL | VL{u: isize, x: Box<Path4>},
371
371
| ^^^^ ^
0 commit comments