Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
nll
/
user-annotations
/
closure-sig.rs
blob: ef2300b99b0c94a8005bfb43a82c42ea1d5af7ce [
file
] [
log
] [
blame
] [
edit
]
// This test fails if #104478 is fixed before #104477.
//@ check-pass
struct
Printer
<
'a, '
b
>(&
'a (), &'
b
());
impl
Printer
<
'_, '
_
>
{
fn
test
(
self
)
{
let
clo
=
|
_
:
&
'
_
Self
|
{};
clo
(&
self
);
clo
(&
self
);
}
}
fn
main
()
{}