Change Constness to Spanned<Constness>

This commit is contained in:
Keith Yeung
2016-08-10 16:20:12 -07:00
parent 1e9e798cce
commit aa5c4bb05d
14 changed files with 63 additions and 40 deletions

View File

@@ -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,