change to a struct variant
This commit is contained in:
parent
9cdefd763b
commit
e81e09a24e
27 changed files with 68 additions and 57 deletions
|
@ -203,7 +203,8 @@ impl<'tcx> Visitor<'tcx> for TypeParamSpanVisitor<'tcx> {
|
|||
.map(|res| {
|
||||
matches!(
|
||||
res,
|
||||
Res::SelfTy(_, _) | Res::Def(hir::def::DefKind::TyParam, _)
|
||||
Res::SelfTy { trait_: _, alias_to: _ }
|
||||
| Res::Def(hir::def::DefKind::TyParam, _)
|
||||
)
|
||||
})
|
||||
.unwrap_or(false) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue