Sign in
fuchsia
/
third_party
/
rust
/
780f95dd182b1a432159430add57e9ab7cb45dd6
/
.
/
tests
/
ui
/
traits
/
dyn-drop-principal-with-projections.rs
blob: 912061847c69f85bb12688ca1e3d4f537fca6efa [
file
] [
log
] [
blame
]
//@ check-pass
trait
Tr
{
type
Assoc
;
}
impl
Tr
for
()
{
type
Assoc
=
();
}
fn
main
()
{
let
x
=
&()
as
&(
dyn
Tr
<
Assoc
=
()>
+
Send
)
as
&
dyn
Send
;
}