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