@@ -4,19 +4,19 @@ error[E0277]: the size for values of type `Device` cannot be known
44LL | unsafe fn make_device() -> Box<Device> {
55 | ^^^^^^^^^^^ doesn't have a known size
66 |
7- = help: the nightly-only, unstable trait `MetaSized ` is not implemented for `Device`
7+ = help: the nightly-only, unstable trait `SizeOfVal ` is not implemented for `Device`
88note: required by a bound in `Box`
99 --> $SRC_DIR/alloc/src/boxed.rs:LL:COL
1010
1111error[E0277]: the size for values of type `Device` cannot be known
1212 --> $DIR/unsized-extern-derefmove.rs:11:19
1313 |
1414LL | Box::from_raw(0 as *mut _)
15- | ------------- ^^^^^^^^^^^ the trait `MetaSized ` is not implemented for `Device`
15+ | ------------- ^^^^^^^^^^^ the trait `SizeOfVal ` is not implemented for `Device`
1616 | |
1717 | required by a bound introduced by this call
1818 |
19- = note: the trait bound `Device: MetaSized ` is not satisfied
19+ = note: the trait bound `Device: SizeOfVal ` is not satisfied
2020note: required by a bound in `Box::<T>::from_raw`
2121 --> $SRC_DIR/alloc/src/boxed.rs:LL:COL
2222help: consider borrowing here
@@ -32,7 +32,7 @@ error[E0277]: the size for values of type `Device` cannot be known
3232LL | Box::from_raw(0 as *mut _)
3333 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a known size
3434 |
35- = help: the nightly-only, unstable trait `MetaSized ` is not implemented for `Device`
35+ = help: the nightly-only, unstable trait `SizeOfVal ` is not implemented for `Device`
3636note: required by a bound in `Box`
3737 --> $SRC_DIR/alloc/src/boxed.rs:LL:COL
3838
@@ -55,7 +55,7 @@ error[E0277]: the size for values of type `Device` cannot be known
5555LL | let d: Device = unsafe { *make_device() };
5656 | ^^^^^^^^^^^^^ doesn't have a known size
5757 |
58- = help: the nightly-only, unstable trait `MetaSized ` is not implemented for `Device`
58+ = help: the nightly-only, unstable trait `SizeOfVal ` is not implemented for `Device`
5959note: required by a bound in `Box`
6060 --> $SRC_DIR/alloc/src/boxed.rs:LL:COL
6161
0 commit comments