diff options
| author | Keith Yeung <kungfukeith11@gmail.com> | 2016-08-10 16:20:12 -0700 |
|---|---|---|
| committer | Keith Yeung <kungfukeith11@gmail.com> | 2016-08-27 22:43:51 -0700 |
| commit | aa5c4bb05d1d5d10a2fdbb80f098ba06e73214b9 (patch) | |
| tree | 89d3aafd243d531332c7b5e993b51c21bcbe64d3 /src/libsyntax/print/pprust.rs | |
| parent | 1e9e798ccea7f70480c3bcc86e271ca2191b8675 (diff) | |
| download | rust-aa5c4bb05d1d5d10a2fdbb80f098ba06e73214b9.tar.gz rust-aa5c4bb05d1d5d10a2fdbb80f098ba06e73214b9.zip | |
Change Constness to Spanned<Constness>
Diffstat (limited to 'src/libsyntax/print/pprust.rs')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index a77c678248b..4c834403063 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -1184,7 +1184,7 @@ impl<'a> State<'a> { try!(self.print_fn( decl, unsafety, - constness, + constness.node, abi, Some(item.ident), typarams, @@ -1518,7 +1518,7 @@ impl<'a> State<'a> { -> io::Result<()> { self.print_fn(&m.decl, m.unsafety, - m.constness, + m.constness.node, m.abi, Some(ident), &m.generics, |
