Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
issues
/
issue-26127.rs
blob: b76f1ba51a4c868d7ae0d001ce6f7f5f4e4969da [
file
] [
log
] [
blame
]
// run-pass
trait
Tr
{
type
T
;
}
impl
Tr
for
u8
{
type
T
=();
}
struct
S
<
I
:
Tr
>(#[
allow
(
dead_code
)]
I
::
T
);
fn
foo
<
I
:
Tr
>(
i
:
I
::
T
)
{
S
::<
I
>(
i
);
}
fn
main
()
{
foo
::<
u8
>(());
}