Sign in
rust
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
crashes
/
139556.rs
blob: 60dc8d7c3afcc2231414f4e94bdcf2afee581247 [
file
] [
log
] [
blame
]
//@ known-bug: #139556
trait
T
{}
type
Alias
<
'
a
>
=
impl
T
;
struct
S
;
impl
<
'a> T for &'
a S
{}
#[
define_opaque
(
Alias
)]
fn
with_positive
(
fun
:
impl
Fn
(
Alias
<
'
_
>))
{
with_positive
(|&
n
|
());
}