Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
impl-trait
/
issues
/
issue-100187.rs
blob: ed693c824ad52e9e12386bb153aabcaea6a1ebdd [
file
] [
log
] [
blame
]
//@ check-pass
trait
Trait
<
T
>
{
type
Ty
;
}
impl
Trait
<&
u8
>
for
()
{
type
Ty
=
();
}
fn
test
<
'a, '
b
>()
->
impl
Trait
<&
'a u8, Ty = impl Sized + '
b
>
{}
fn
main
()
{}