diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-07-07 09:13:49 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2014-07-11 17:32:23 +0200 |
| commit | 5cee57869c527ee798c8aeb0e17e82fb36848c4f (patch) | |
| tree | c4dc23e67ff6cd75b9d852ed645b50fb51b4d34b /src/libsyntax/ext/deriving/default.rs | |
| parent | c8ae44682d76bb40eb1471eeb42603eaecd0b392 (diff) | |
| download | rust-5cee57869c527ee798c8aeb0e17e82fb36848c4f.tar.gz rust-5cee57869c527ee798c8aeb0e17e82fb36848c4f.zip | |
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.
Diffstat (limited to 'src/libsyntax/ext/deriving/default.rs')
| -rw-r--r-- | src/libsyntax/ext/deriving/default.rs | 1 |
1 files changed, 0 insertions, 1 deletions
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) }) |
