Sign in
fuchsia
/
third_party
/
rust
/
f233a4c18bec906dab0b8531f326a15fadece547
/
.
/
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
}