@@ -5,7 +5,6 @@ LL | let _ = Box::into_boxed_slice(boxed_slice);
5
5
| ^^^^^^^^^^^ doesn't have a size known at compile-time
6
6
|
7
7
= help: the trait `std::marker::Sized` is not implemented for `[u8]`
8
- = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
9
8
= note: required by `std::boxed::Box::<T>::into_boxed_slice`
10
9
11
10
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
@@ -15,7 +14,6 @@ LL | let _ = Box::into_boxed_slice(boxed_slice);
15
14
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
16
15
|
17
16
= help: the trait `std::marker::Sized` is not implemented for `[u8]`
18
- = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
19
17
= note: slice and array elements must have `Sized` type
20
18
21
19
error[E0277]: the size for values of type `dyn std::fmt::Debug` cannot be known at compilation time
@@ -25,7 +23,6 @@ LL | let _ = Box::into_boxed_slice(boxed_trait);
25
23
| ^^^^^^^^^^^ doesn't have a size known at compile-time
26
24
|
27
25
= help: the trait `std::marker::Sized` is not implemented for `dyn std::fmt::Debug`
28
- = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
29
26
= note: required by `std::boxed::Box::<T>::into_boxed_slice`
30
27
31
28
error[E0277]: the size for values of type `dyn std::fmt::Debug` cannot be known at compilation time
@@ -35,7 +32,6 @@ LL | let _ = Box::into_boxed_slice(boxed_trait);
35
32
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
36
33
|
37
34
= help: the trait `std::marker::Sized` is not implemented for `dyn std::fmt::Debug`
38
- = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
39
35
= note: slice and array elements must have `Sized` type
40
36
41
37
error: aborting due to 4 previous errors
0 commit comments