use field init shorthand EVERYWHERE
Like #43008 (f668999), but _much more aggressive_.
This commit is contained in:
@@ -28,7 +28,7 @@ pub fn expand_deriving_debug(cx: &mut ExtCtxt,
|
||||
Borrowed(None, ast::Mutability::Mutable));
|
||||
|
||||
let trait_def = TraitDef {
|
||||
span: span,
|
||||
span,
|
||||
attributes: Vec::new(),
|
||||
path: path_std!(cx, core::fmt::Debug),
|
||||
additional_bounds: Vec::new(),
|
||||
|
||||
Reference in New Issue
Block a user