diff options
| author | bors <bors@rust-lang.org> | 2017-12-07 07:16:44 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-12-07 07:16:44 +0000 |
| commit | 7b637b778db0ec1063662f731773dd7917790a66 (patch) | |
| tree | a90bb2b7f9614417cd4f8cec975c87298fb5cb15 /src/libsyntax | |
| parent | bd7021fd57ad595711aaaaba03e0a058cf931056 (diff) | |
| parent | a126a732eb47dbd13b44452820a4d2b249330126 (diff) | |
| download | rust-7b637b778db0ec1063662f731773dd7917790a66.tar.gz rust-7b637b778db0ec1063662f731773dd7917790a66.zip | |
Auto merge of #46187 - notriddle:patch-1, r=QuietMisdreavus
Rename C-like enum to Field-less enum There is no need to reference the C programming language to explain this concept.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 2461e65585f..726db733482 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -5995,7 +5995,7 @@ impl<'a> Parser<'a> { match any_disr { Some(disr_span) if !all_nullary => self.span_err(disr_span, - "discriminator values can only be used with a c-like enum"), + "discriminator values can only be used with a field-less enum"), _ => () } |
