Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 259 Bytes
// build-pass (FIXME(62277): could be check-pass?)
#![allow(dead_code)]
struct A<'a> {
a: &'a i32,
b: &'a i32,
}
impl <'a> A<'a> {
fn foo<'b>(&'b self) {
A {
a: self.a,
b: self.b,
};
}
}
fn main() { }
You can’t perform that action at this time.