diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2016-02-16 00:40:38 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2016-02-16 00:40:38 +0300 |
| commit | 06755d90ce3bf9694060e579439ee4e8345e4512 (patch) | |
| tree | 325bb8ae969f1b147a0e725b570fba0b0b7a8098 /src/libsyntax | |
| parent | 9b40e1e5b3d75c101b1ad78a1e2160962e955174 (diff) | |
| download | rust-06755d90ce3bf9694060e579439ee4e8345e4512.tar.gz rust-06755d90ce3bf9694060e579439ee4e8345e4512.zip | |
Split PatKind::Enum into PatKind::TupleStruct and PatKind::Path
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index cb79c609c1b..23bb6fd141a 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -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)` |
