diff options
| author | Michael Howell <michael@notriddle.com> | 2017-11-22 10:59:14 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-22 10:59:14 -0700 |
| commit | 06a75e4d1f472461ecdcb6baf24226f856379a41 (patch) | |
| tree | 24083362f7f515103fd4ba010070e25e28aa3f01 /src/libsyntax/parse | |
| parent | a0628ef3d1c97f27d0a20995e6b32d841b78cf52 (diff) | |
| download | rust-06a75e4d1f472461ecdcb6baf24226f856379a41.tar.gz rust-06a75e4d1f472461ecdcb6baf24226f856379a41.zip | |
Update parser.rs
Diffstat (limited to 'src/libsyntax/parse')
| -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 0b03429ea2e..3a71cff5968 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -5891,7 +5891,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"), _ => () } |
