2 #![allow(unused_variables)]
3 // pretty-expanded FIXME #23616
5 use std
::default::Default
;
7 struct X { pub x: usize }
14 struct Y
<T
> { pub y: T }
15 impl<T
: Default
> Default
for Y
<T
> {
16 fn default() -> Y
<T
> {
17 Y { y: Default::default() }
22 let X { x: _ }
= Default
::default();
23 let Y { y: X { x }
} = Default
::default();