]> git.lizzy.rs Git - rust.git/blob - tests/ui/dyn-star/check-size-at-cast.stderr
Rollup merge of #106664 - chenyukang:yukang/fix-106597-remove-lseek, r=cuviper
[rust.git] / tests / ui / dyn-star / check-size-at-cast.stderr
1 error[E0277]: `[i32; 4]` needs to be a pointer-sized type
2   --> $DIR/check-size-at-cast.rs:7:13
3    |
4 LL |     let i = [1, 2, 3, 4] as dyn* Debug;
5    |             ^^^^^^^^^^^^ `[i32; 4]` needs to be a pointer-sized type
6    |
7    = help: the trait `PointerSized` is not implemented for `[i32; 4]`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0277`.