@@ -5,7 +5,6 @@ LL | let _ = Box::into_boxed_slice(boxed_slice);
55 | ^^^^^^^^^^^ doesn't have a size known at compile-time
66 |
77 = 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>
98 = note: required by `std::boxed::Box::<T>::into_boxed_slice`
109
1110error[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);
1514 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
1615 |
1716 = 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>
1917 = note: slice and array elements must have `Sized` type
2018
2119error[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);
2523 | ^^^^^^^^^^^ doesn't have a size known at compile-time
2624 |
2725 = 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>
2926 = note: required by `std::boxed::Box::<T>::into_boxed_slice`
3027
3128error[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);
3532 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
3633 |
3734 = 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>
3935 = note: slice and array elements must have `Sized` type
4036
4137error: aborting due to 4 previous errors
0 commit comments