Split PatKind::Enum into PatKind::TupleStruct and PatKind::Path
This commit is contained in:
parent
9b40e1e5b3
commit
06755d90ce
22 changed files with 137 additions and 142 deletions
|
|
@ -580,7 +580,7 @@ pub enum PatKind {
|
|||
/// An associated const named using the qualified path `<T>::CONST` or
|
||||
/// `<T as Trait>::CONST`. Associated consts from inherent impls can be
|
||||
/// referred to as simply `T::CONST`, in which case they will end up as
|
||||
/// PatKind::Enum, and the resolver will have to sort that out.
|
||||
/// PatKind::Path, and the resolver will have to sort that out.
|
||||
QPath(QSelf, Path),
|
||||
|
||||
/// A tuple pattern `(a, b)`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue