Auto merge of #114545 - fee1-dead-contrib:lower-impl-effect, r=oli-obk
correctly lower `impl const` to bind to host effect param r? `@oli-obk`
This commit is contained in:
commit
f88a8b71ce
64 changed files with 465 additions and 373 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