diff options
| author | varkor <github@varkor.com> | 2019-09-26 17:07:54 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-09-26 18:21:09 +0100 |
| commit | d4573c9c1e8118be5ffc662c6a64db329db0a245 (patch) | |
| tree | 70898abfa17c25b8fad22b298764db0bd38ab022 /src/libsyntax/print | |
| parent | 17726f6b52b68279384cfb13209f015ab491c1c0 (diff) | |
| download | rust-d4573c9c1e8118be5ffc662c6a64db329db0a245.tar.gz rust-d4573c9c1e8118be5ffc662c6a64db329db0a245.zip | |
Rename `TraitItem.node` to `TraitItem.kind`
Diffstat (limited to 'src/libsyntax/print')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index 1f7f8b59ee3..50e45184427 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -1550,7 +1550,7 @@ impl<'a> State<'a> { self.hardbreak_if_not_bol(); self.maybe_print_comment(ti.span.lo()); self.print_outer_attributes(&ti.attrs); - match ti.node { + match ti.kind { ast::TraitItemKind::Const(ref ty, ref default) => { self.print_associated_const( ti.ident, |
