File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/rustc_builtin_macros/src/deriving/generic Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1576,7 +1576,7 @@ impl<'a> TraitDef<'a> {
15761576
15771577// helpful premade recipes
15781578
1579- pub fn cs_fold_fields < ' a , F > (
1579+ fn cs_fold_fields < ' a , F > (
15801580 use_foldl : bool ,
15811581 mut f : F ,
15821582 base : P < Expr > ,
@@ -1598,7 +1598,7 @@ where
15981598 }
15991599}
16001600
1601- pub fn cs_fold_enumnonmatch (
1601+ fn cs_fold_enumnonmatch (
16021602 mut enum_nonmatch_f : EnumNonMatchCollapsedFunc < ' _ > ,
16031603 cx : & mut ExtCtxt < ' _ > ,
16041604 trait_span : Span ,
@@ -1610,7 +1610,7 @@ pub fn cs_fold_enumnonmatch(
16101610 }
16111611}
16121612
1613- pub fn cs_fold_static ( cx : & mut ExtCtxt < ' _ > , trait_span : Span ) -> P < Expr > {
1613+ fn cs_fold_static ( cx : & mut ExtCtxt < ' _ > , trait_span : Span ) -> P < Expr > {
16141614 cx. span_bug ( trait_span, "static function in `derive`" )
16151615}
16161616
You can’t perform that action at this time.
0 commit comments