remove unnecessary ..
patterns
This commit is contained in:
parent
d53e19540e
commit
51a53bf4df
6 changed files with 7 additions and 11 deletions
|
@ -852,7 +852,7 @@ impl ReachEverythingInTheInterfaceVisitor<'_, '_> {
|
|||
self.visit(self.ev.tcx.type_of(param.def_id));
|
||||
}
|
||||
}
|
||||
GenericParamDefKind::Const { has_default, .. } => {
|
||||
GenericParamDefKind::Const { has_default } => {
|
||||
self.visit(self.ev.tcx.type_of(param.def_id));
|
||||
if has_default {
|
||||
self.visit(self.ev.tcx.const_param_default(param.def_id));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue