Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (15 sloc) 312 Bytes
// build-pass (FIXME(62277): could be check-pass?)
// pretty-expanded FIXME #23616
pub struct Foo {
a: isize,
struct Bar<'a> {
a: Box<Option<isize>>,
b: &'a Foo,
fn check(a: Box<Foo>) {
let _ic = Bar{ b: &*a, a: box None };
pub fn main(){}
You can’t perform that action at this time.