Another tweak to auto_encode to only use trait-qualified static methods
This commit is contained in:
parent
907fa74e8b
commit
a59747cd7f
1 changed files with 2 additions and 0 deletions
|
@ -1023,6 +1023,8 @@ fn mk_enum_deser_variant_nary(
|
||||||
cx.expr_path(span, ~[
|
cx.expr_path(span, ~[
|
||||||
cx.ident_of(~"std"),
|
cx.ident_of(~"std"),
|
||||||
cx.ident_of(~"serialize"),
|
cx.ident_of(~"serialize"),
|
||||||
|
cx.ident_of(~"traits"),
|
||||||
|
cx.ident_of(~"Decodable"),
|
||||||
cx.ident_of(~"decode"),
|
cx.ident_of(~"decode"),
|
||||||
]),
|
]),
|
||||||
~[cx.expr_var(span, ~"__d")]
|
~[cx.expr_var(span, ~"__d")]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue