]> git.lizzy.rs Git - rust.git/blob - src/test/ui/dst/dst-bad-deep-2.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / dst / dst-bad-deep-2.stderr
1 error[E0277]: the size for values of type `[isize]` cannot be known at compilation time
2   --> $DIR/dst-bad-deep-2.rs:11:30
3    |
4 LL |     let h: &(([isize],),) = &(*g,);
5    |                              ^^^^^ doesn't have a size known at compile-time
6    |
7    = help: within `(([isize],),)`, the trait `std::marker::Sized` is not implemented for `[isize]`
8    = note: required because it appears within the type `([isize],)`
9    = note: required because it appears within the type `(([isize],),)`
10    = note: tuples must have a statically known size to be initialized
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.