Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-54094.rs
blob: 4ca7d1d81b62104bbbdf6ddbc0f297ff11e1d3d5 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
trait
Zoo
{
type
X
;
}
impl
Zoo
for
u16
{
type
X
=
usize
;
}
fn
foo
(
abc
:
<
u16
as
Zoo
>::
X
)
{}
fn
main
()
{
let
x
:
*
const
u8
=
foo
as
_
;
}