Skip to content

Commit 06a75e4

Browse files
authored
Update parser.rs
1 parent a0628ef commit 06a75e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/parse/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5891,7 +5891,7 @@ impl<'a> Parser<'a> {
58915891
match any_disr {
58925892
Some(disr_span) if !all_nullary =>
58935893
self.span_err(disr_span,
5894-
"discriminator values can only be used with a c-like enum"),
5894+
"discriminator values can only be used with a field-less enum"),
58955895
_ => ()
58965896
}
58975897

0 commit comments

Comments
 (0)