]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_builtin_macros/src/deriving/default.rs
Auto merge of #103659 - clubby789:improve-partialord-derive, r=nagisa
[rust.git] / compiler / rustc_builtin_macros / src / deriving / default.rs
index eb66c4a69a69bc25bab4126e1649d5f3097a940f..18270747296b8f7c7d8762e141f7c8df88da5f36 100644 (file)
@@ -34,7 +34,7 @@ pub fn expand_deriving_default(
             nonself_args: Vec::new(),
             ret_ty: Self_,
             attributes: attrs,
-            unify_fieldless_variants: false,
+            fieldless_variants_strategy: FieldlessVariantsStrategy::Default,
             combine_substructure: combine_substructure(Box::new(|cx, trait_span, substr| {
                 match substr.fields {
                     StaticStruct(_, fields) => {