diff options
| author | James Sanderson <zofrex@gmail.com> | 2018-04-19 13:57:43 +0100 |
|---|---|---|
| committer | James Sanderson <zofrex@gmail.com> | 2018-04-19 13:57:43 +0100 |
| commit | a3241d1350ab95e0a7ef4c84cbd828c207f211b5 (patch) | |
| tree | 5e33b82b458dfbcdbadc91f3b3bf9dd0bd35201e /src/libsyntax_ext/deriving/cmp | |
| parent | 24d410abd6924c175ee776ed84be851b615a555b (diff) | |
| download | rust-a3241d1350ab95e0a7ef4c84cbd828c207f211b5.tar.gz rust-a3241d1350ab95e0a7ef4c84cbd828c207f211b5.zip | |
Don't prepend deriving-generated attributes with _
Diffstat (limited to 'src/libsyntax_ext/deriving/cmp')
| -rw-r--r-- | src/libsyntax_ext/deriving/cmp/partial_eq.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_ext/deriving/cmp/partial_eq.rs b/src/libsyntax_ext/deriving/cmp/partial_eq.rs index 353adc9796c..680ca56c82e 100644 --- a/src/libsyntax_ext/deriving/cmp/partial_eq.rs +++ b/src/libsyntax_ext/deriving/cmp/partial_eq.rs @@ -71,7 +71,7 @@ pub fn expand_deriving_partial_eq(cx: &mut ExtCtxt, name: $name, generics: LifetimeBounds::empty(), explicit_self: borrowed_explicit_self(), - args: vec![(borrowed_self(), "_other")], + args: vec![(borrowed_self(), "other")], ret_ty: Literal(path_local!(bool)), attributes: attrs, is_unsafe: false, |
