]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cast/cast-to-unsized-trait-object-suggestion.rs
Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup
[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 }