|
LL | VA(&W),
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VA(Box<W>),
| ^^^^ ^
|
LL | VB{x: &X},
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VB{x: Box<X>},
| ^^^^ ^
|
LL | VC(isize, &Y),
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VC(isize, Box<Y>),
| ^^^^ ^
|
LL | VD{u: isize, x: &Z},
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VD{u: isize, x: Box<Z>},
| ^^^^ ^
|
LL | VE(&[u8]),
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VE(Box<[u8]>),
| ^^^^ ^
|
LL | VF{x: &str},
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VF{x: Box<str>},
| ^^^^ ^
|
LL | VG(isize, &[f32]),
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VG(isize, Box<[f32]>),
| ^^^^ ^
|
LL | VH{u: isize, x: &[u32]},
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VH{u: isize, x: Box<[u32]>},
| ^^^^ ^
|
LL | VM(&dyn Foo),
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VM(Box<dyn Foo>),
| ^^^^ ^
|
LL | VN{x: &dyn Bar},
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VN{x: Box<dyn Bar>},
| ^^^^ ^
|
LL | VO(isize, &dyn FooBar),
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VO(isize, Box<dyn FooBar>),
| ^^^^ ^
|
LL | VP{u: isize, x: &dyn BarFoo},
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VP{u: isize, x: Box<dyn BarFoo>},
| ^^^^ ^
|
LL | VQ(&<&'static [i8] as Deref>::Target),
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VQ(Box<<&'static [i8] as Deref>::Target>),
| ^^^^ ^
|
LL | VR{x: &<&'static [char] as Deref>::Target},
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VR{x: Box<<&'static [char] as Deref>::Target>},
| ^^^^ ^
|
LL | VS(isize, &<&'static [f64] as Deref>::Target),
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VS(isize, Box<<&'static [f64] as Deref>::Target>),
| ^^^^ ^
|
LL | VT{u: isize, x: &<&'static [i32] as Deref>::Target},
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VT{u: isize, x: Box<<&'static [i32] as Deref>::Target>},
| ^^^^ ^
|
LL | VI(&Path1),
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VI(Box<Path1>),
| ^^^^ ^
|
LL | VJ{x: &Path2},
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VJ{x: Box<Path2>},
| ^^^^ ^
|
LL | VK(isize, &Path3),
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VK(isize, Box<Path3>),
| ^^^^ ^
|
LL | VL{u: isize, x: &Path4},
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | VL{u: isize, x: Box<Path4>},
| ^^^^ ^
|
LL | f1: &X,
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | f1: Box<X>,
| ^^^^ ^
|
LL | g: &X,
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | g: Box<X>,
| ^^^^ ^
|
LL | f: &str,
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | f: Box<str>,
| ^^^^ ^
|
LL | f: &[u8],
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | f: Box<[u8]>,
| ^^^^ ^
|
LL | V1(&X, isize),
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | V1(Box<X>, isize),
| ^^^^ ^
|
LL | V2{f1: &X, f: isize},
| ^
-help: heap allocated types always have a statically known size
+help: the `Box` type always has a statically known size and allocates its contents in the heap
|
LL | V2{f1: Box<X>, f: isize},
| ^^^^ ^