Auto merge of #101887 - nnethercote:shrink-Res, r=spastorino
Shrink `hir::def::Res` r? `@spastorino`
This commit is contained in:
commit
1bb8d276c9
28 changed files with 225 additions and 186 deletions
|
@ -433,7 +433,8 @@ impl<'a, 'tcx> PatCtxt<'a, 'tcx> {
|
|||
| DefKind::AssocTy,
|
||||
_,
|
||||
)
|
||||
| Res::SelfTy { .. }
|
||||
| Res::SelfTyParam { .. }
|
||||
| Res::SelfTyAlias { .. }
|
||||
| Res::SelfCtor(..) => PatKind::Leaf { subpatterns },
|
||||
_ => {
|
||||
let pattern_error = match res {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue