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/decodable.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/decodable.rs')
| -rw-r--r-- | src/libsyntax/ext/deriving/decodable.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsyntax/ext/deriving/decodable.rs b/src/libsyntax/ext/deriving/decodable.rs index 3422819c4fa..d909ffd2b49 100644 --- a/src/libsyntax/ext/deriving/decodable.rs +++ b/src/libsyntax/ext/deriving/decodable.rs @@ -54,7 +54,6 @@ pub fn expand_deriving_decodable(cx: &mut ExtCtxt, vec!(box Self, box Literal(Path::new_local("__E"))), true)), attributes: Vec::new(), - on_nonmatching: NonMatchHandlingIrrelevant, combine_substructure: combine_substructure(|a, b, c| { decodable_substructure(a, b, c) }), |
