]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cast/cast-to-unsized-trait-object-suggestion.rs
Rollup merge of #83791 - the8472:relax-zip-side-effect-guarantee, r=dtolnay
[rust.git] / src / test / ui / cast / cast-to-unsized-trait-object-suggestion.rs
1 fn main() {
2     &1 as dyn Send; //~ ERROR cast to unsized
3     Box::new(1) as dyn Send; //~ ERROR cast to unsized
4 }