]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-17651.stderr
New upstream version 1.58.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-17651.stderr
CommitLineData
e1599b0c
XL
1error[E0277]: the size for values of type `[{integer}]` cannot be known at compilation time
2 --> $DIR/issue-17651.rs:5:18
3 |
4LL | (|| Box::new(*(&[0][..])))();
c295e0f8
XL
5 | -------- ^^^^^^^^^^^ doesn't have a size known at compile-time
6 | |
7 | required by a bound introduced by this call
e1599b0c 8 |
1b1a35ee 9 = help: the trait `Sized` is not implemented for `[{integer}]`
3c0e092e 10note: required by a bound in `Box::<T>::new`
136023e0
XL
11 --> $SRC_DIR/alloc/src/boxed.rs:LL:COL
12 |
3c0e092e
XL
13LL | impl<T> Box<T> {
14 | ^ required by this bound in `Box::<T>::new`
e1599b0c 15
c295e0f8 16error: aborting due to previous error
8faf50e0
XL
17
18For more information about this error, try `rustc --explain E0277`.