fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
580 B15 linesraw
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][..])))();
5   |         -------- ^^^^^^^^^^^ doesn't have a size known at compile-time
6   |         |
7   |         required by a bound introduced by this call
8   |
9   = help: the trait `Sized` is not implemented for `[{integer}]`
10note: required by a bound in `Box::<T>::new`
11  --> $SRC_DIR/alloc/src/boxed.rs:LL:COL
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0277`.