Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
cast
/
cast-to-unsized-trait-object-suggestion.rs
blob: 5342b595c7c5e9f1d2c7891e8fb59a4b7d968e06 [
file
] [
log
] [
blame
]
fn
main
()
{
&
1
as
dyn
Send
;
//~ ERROR cast to unsized
Box
::
new
(
1
)
as
dyn
Send
;
//~ ERROR cast to unsized
}