diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-02-09 19:56:18 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-02-09 19:56:18 +0000 |
commit | 419b9b7e5efd895249934551cb2588b27a956f58 (patch) | |
tree | 4d53f6d5e34a4244f0aaeb2039454e3594856324 /src/parser/grammar/expressions.rs | |
parent | 550b17d7cf321c2aebff75d00b1654b55beca53c (diff) | |
parent | ac932df22a993f0b287e60aa42055405ef94a6ae (diff) |
Merge #44
44: Drop ErrorBuilder nonsense r=matklad a=matklad
Diffstat (limited to 'src/parser/grammar/expressions.rs')
-rw-r--r-- | src/parser/grammar/expressions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/grammar/expressions.rs b/src/parser/grammar/expressions.rs index 8caaf3553..3704cb16f 100644 --- a/src/parser/grammar/expressions.rs +++ b/src/parser/grammar/expressions.rs | |||
@@ -15,6 +15,6 @@ pub(super) fn literal(p: &mut Parser) -> bool { | |||
15 | 15 | ||
16 | pub(super) fn expr(p: &mut Parser) { | 16 | pub(super) fn expr(p: &mut Parser) { |
17 | if !literal(p) { | 17 | if !literal(p) { |
18 | p.error().message("expected expression").emit(); | 18 | p.error("expected expression"); |
19 | } | 19 | } |
20 | } | 20 | } |