blob: da7b8ef65c56664dd38be6de0a66b65f7d2bfe3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Regression test for #51008 -- the anonymous lifetime in `&i32` was
// being incorrectly considered part of the "elided lifetimes" from
// the impl.
//
// run-pass
trait A {
}
impl<F> A for F where F: PartialEq<fn(&i32)> { }
fn main() {}
|