lower impl const to bind to host effect param
This commit is contained in:
parent
4f7bb9890c
commit
92f4c59e48
24 changed files with 236 additions and 137 deletions
|
@ -626,7 +626,6 @@ impl<'a> State<'a> {
|
|||
unsafety,
|
||||
polarity,
|
||||
defaultness,
|
||||
constness,
|
||||
defaultness_span: _,
|
||||
generics,
|
||||
ref of_trait,
|
||||
|
@ -643,10 +642,6 @@ impl<'a> State<'a> {
|
|||
self.space();
|
||||
}
|
||||
|
||||
if constness == hir::Constness::Const {
|
||||
self.word_nbsp("const");
|
||||
}
|
||||
|
||||
if let hir::ImplPolarity::Negative(_) = polarity {
|
||||
self.word("!");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue