Bump rustfmt version
Also switches on formatting of the mir build module
This commit is contained in:
parent
f6cb45ad01
commit
d5b760ba62
30 changed files with 224 additions and 164 deletions
|
@ -506,7 +506,9 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
|
|||
let count = generics
|
||||
.params
|
||||
.iter()
|
||||
.filter(|param| matches!(param.kind, ast::GenericParamKind::Lifetime { .. }))
|
||||
.filter(|param| {
|
||||
matches!(param.kind, ast::GenericParamKind::Lifetime { .. })
|
||||
})
|
||||
.count();
|
||||
self.lctx.type_def_lifetime_params.insert(def_id.to_def_id(), count);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue