change to a struct variant
This commit is contained in:
parent
9cdefd763b
commit
e81e09a24e
27 changed files with 68 additions and 57 deletions
|
@ -417,7 +417,7 @@ impl<'a, 'tcx> PatCtxt<'a, 'tcx> {
|
|||
| DefKind::AssocTy,
|
||||
_,
|
||||
)
|
||||
| Res::SelfTy(..)
|
||||
| Res::SelfTy { .. }
|
||||
| Res::SelfCtor(..) => PatKind::Leaf { subpatterns },
|
||||
_ => {
|
||||
let pattern_error = match res {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue