diff options
| author | Alexander Regueiro <alexreg@me.com> | 2019-05-04 16:09:28 +0100 |
|---|---|---|
| committer | Alexander Regueiro <alexreg@me.com> | 2019-06-05 21:09:27 +0100 |
| commit | a71d55701e303514f936b862ae5cf0c410d2a785 (patch) | |
| tree | 75ce2639b20fd5e0254d03523e0bf859257fd177 /src/libsyntax_pos | |
| parent | 4310ba2c985c161260bbdfef5d92ceea552e9055 (diff) | |
| download | rust-a71d55701e303514f936b862ae5cf0c410d2a785.tar.gz rust-a71d55701e303514f936b862ae5cf0c410d2a785.zip | |
Addressed points raised in review.
Diffstat (limited to 'src/libsyntax_pos')
| -rw-r--r-- | src/libsyntax_pos/hygiene.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax_pos/hygiene.rs b/src/libsyntax_pos/hygiene.rs index 213993996a6..b827416ab53 100644 --- a/src/libsyntax_pos/hygiene.rs +++ b/src/libsyntax_pos/hygiene.rs @@ -714,7 +714,7 @@ pub enum CompilerDesugaringKind { /// Desugaring of an `impl Trait` in return type position /// to an `existential type Foo: Trait;` and replacing the /// `impl Trait` with `Foo`. - ExistentialReturnType, + ExistentialType, Async, Await, ForLoop, @@ -728,7 +728,7 @@ impl CompilerDesugaringKind { CompilerDesugaringKind::Await => "await", CompilerDesugaringKind::QuestionMark => "?", CompilerDesugaringKind::TryBlock => "try block", - CompilerDesugaringKind::ExistentialReturnType => "existential type", + CompilerDesugaringKind::ExistentialType => "existential type", CompilerDesugaringKind::ForLoop => "for loop", }) } |
