unsafety,
polarity,
defaultness,
+ constness,
ref generics,
ref of_trait,
ref self_ty,
text.push_str("unsafe ");
}
text.push_str("impl");
+ if constness == ast::Constness::Const {
+ text.push_str(" const");
+ }
let generics_sig = generics.make(offset + text.len(), id, scx)?;
text.push_str(&generics_sig.text);