From 5cee57869c527ee798c8aeb0e17e82fb36848c4f Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Mon, 7 Jul 2014 09:13:49 +0200 Subject: Removed dead structures after changes to PartialOrd/Ord derivings. Remove the `NonMatchesExplode` variant now that no deriving impl uses it. Removed `EnumNonMatching` entirely. Remove now irrelevant `on_matching` field and `HandleNonMatchingEnums` type. Removed unused `EnumNonMatchFunc` type def. Drive-by: revise `EnumNonMatchCollapsedFunc` doc. Made all calls to `expand_enum_method_body` go directly to `build_enum_match_tuple`. Alpha-rename `enum_nonmatch_g` back to `enum_nonmatch_f` to reduce overall diff noise. Inline sole call of `some_ordering_const`. Inline sole call of `ordering_const`. Removed a bunch of code that became dead after the above changes. --- src/libsyntax/ext/deriving/default.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/libsyntax/ext/deriving/default.rs') diff --git a/src/libsyntax/ext/deriving/default.rs b/src/libsyntax/ext/deriving/default.rs index e6fffaa2a3f..f7d0308e1bd 100644 --- a/src/libsyntax/ext/deriving/default.rs +++ b/src/libsyntax/ext/deriving/default.rs @@ -39,7 +39,6 @@ pub fn expand_deriving_default(cx: &mut ExtCtxt, args: Vec::new(), ret_ty: Self, attributes: attrs, - on_nonmatching: NonMatchHandlingIrrelevant, combine_substructure: combine_substructure(|a, b, c| { default_substructure(a, b, c) }) -- cgit 1.4.1-3-g733a5