diff options
| author | bors <bors@rust-lang.org> | 2016-02-17 06:01:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-02-17 06:01:49 +0000 |
| commit | 0d1cd9bd6ac65e2a3fa8a1519fd368de79d5bfb5 (patch) | |
| tree | 3c9093e56a17d097bd3b3c9722caa52de9c30d79 /src/libsyntax | |
| parent | 82f30d2a361cd8e5621f4906c61e16bbe61ebad6 (diff) | |
| parent | 06755d90ce3bf9694060e579439ee4e8345e4512 (diff) | |
| download | rust-0d1cd9bd6ac65e2a3fa8a1519fd368de79d5bfb5.tar.gz rust-0d1cd9bd6ac65e2a3fa8a1519fd368de79d5bfb5.zip | |
Auto merge of #31685 - petrochenkov:patrefact2, r=eddyb
And split `PatKind::Enum` into `PatKind::TupleStruct` and `PatKind::Path`. This is the HIR part of https://github.com/rust-lang/rust/pull/31581. This is also kind of a preparation for https://github.com/rust-lang/rfcs/pull/1492. r? @eddyb
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)` |
