Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
301c8decceb7bb87de350cf062140e937c4d6120
/
.
/
tests
/
crashes
/
122904-2.rs
blob: 85ed91c2fa4863fa9b803eea467407ac2afd5ed2 [
file
] [
log
] [
blame
]
//@ known-bug: #122904
trait
T
{}
type
Alias
<
'
a
>
=
impl
T
;
struct
S
;
impl
<
'a> T for &'
a S
{}
fn
with_positive
(
fun
:
impl
Fn
(
Alias
<
'
_
>))
{
with_positive
(|&
n
|
());
}
fn
main
(
Alias
<
'
_
>)
{
with_positive
(|&
a
|
());
}