Sign in
rust
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
src
/
tools
/
rustfmt
/
tests
/
target
/
issue_4257.rs
blob: 309a66c8dc3ccfb6e7782a36bb483a213926203d [
file
] [
log
] [
blame
]
trait
Trait
<
T
>
{
type
Type
<
'
a
>
where
T
:
'
a
;
fn
foo
(
x
:
&
T
)
->
Self
::
Type
<
'
_
>;
}
impl
<
T
>
Trait
<
T
>
for
()
{
type
Type
<
'
a
>
where
T
:
'
a
,
=
&
'
a T
;
fn
foo
(
x
:
&
T
)
->
Self
::
Type
<
'
_
>
{
x
}
}