Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (17 sloc) 355 Bytes
// build-pass (FIXME(62277): could be check-pass?)
#![allow(dead_code)]
#![allow(unused_variables)]
// pretty-expanded FIXME #23616
struct Foo<'a> {
i: &'a bool,
j: Option<&'a isize>,
}
impl<'a> Foo<'a> {
fn bar(&mut self, j: &isize) {
let child = Foo {
i: self.i,
j: Some(j)
};
}
}
fn main() {}
You can’t perform that action at this time.