Sign in
fuchsia
/
third_party
/
rust
/
03534ac8b70de1134ce7e91b172cd629048a6c8b
/
.
/
tests
/
ui
/
transmute-equal-assoc-types.rs
blob: d1b593b7f0a71c27696978b5ee0a76922e73c6dd [
file
] [
log
] [
blame
]
// check-pass
trait
Foo
{
type
Bar
;
}
unsafe
fn
noop
<
F
:
Foo
>(
foo
:
F
::
Bar
)
->
F
::
Bar
{
::
std
::
mem
::
transmute
(
foo
)
}
fn
main
()
{}