diff options
| author | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2016-06-25 22:26:47 +0000 |
|---|---|---|
| committer | Jeffrey Seyfried <jeffrey.seyfried@gmail.com> | 2016-06-25 22:35:06 +0000 |
| commit | 4e2e31c11837f244e5039165b777ddedde5dc44d (patch) | |
| tree | 85529ee8341741b10b4b2fdcab162ddfdf9c8bd7 /src/libsyntax/print/pprust.rs | |
| parent | f0310e061b9d0a7d8dc515390fa68dfb6318df4b (diff) | |
| parent | f903c97959593e4612403989148f6116ab57611f (diff) | |
| download | rust-4e2e31c11837f244e5039165b777ddedde5dc44d.tar.gz rust-4e2e31c11837f244e5039165b777ddedde5dc44d.zip | |
Rollup merge of #34368 - petrochenkov:astqpath, r=Manishearth
The AST part of https://github.com/rust-lang/rust/pull/34365 plugin-[breaking-change] cc https://github.com/rust-lang/rust/issues/31645
Diffstat (limited to 'src/libsyntax/print/pprust.rs')
| -rw-r--r-- | src/libsyntax/print/pprust.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs index fb1c9679c8f..1fefc53af63 100644 --- a/src/libsyntax/print/pprust.rs +++ b/src/libsyntax/print/pprust.rs @@ -2494,10 +2494,10 @@ impl<'a> State<'a> { } try!(self.pclose()); } - PatKind::Path(ref path) => { + PatKind::Path(None, ref path) => { try!(self.print_path(path, true, 0)); } - PatKind::QPath(ref qself, ref path) => { + PatKind::Path(Some(ref qself), ref path) => { try!(self.print_qpath(path, qself, false)); } PatKind::Struct(ref path, ref fields, etc) => { |
