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
|
@ -132,7 +132,12 @@ impl Visitor<'tcx> for TypeParamSpanVisitor<'tcx> {
|
|||
[segment]
|
||||
if segment
|
||||
.res
|
||||
.map(|res| matches!(res, Res::SelfTy(_, _) | Res::Def(hir::def::DefKind::TyParam, _)))
|
||||
.map(|res| {
|
||||
matches!(
|
||||
res,
|
||||
Res::SelfTy(_, _) | Res::Def(hir::def::DefKind::TyParam, _)
|
||||
)
|
||||
})
|
||||
.unwrap_or(false) =>
|
||||
{
|
||||
self.types.push(path.span);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue