Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
rust-2018
/
issue-51008-1.rs
blob: 8ecbd6f9d37fdf6fe4eb370f7b9860c115d7044c [
file
] [
log
] [
blame
] [
edit
]
// Regression test for #51008 -- the anonymous lifetime in `&i32` was
// being incorrectly considered part of the "elided lifetimes" from
// the impl.
//
//@ check-pass
trait
A
{
}
impl
<
F
>
A
for
F where F
:
PartialEq
<
fn
(&
i32
)>
{
}
fn
main
()
{}