diff options
author | Aleksey Kladov <[email protected]> | 2018-02-09 19:44:50 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-02-09 19:44:50 +0000 |
commit | 0ae26c344aa7477a18c2019cfa0062a9a745d70d (patch) | |
tree | 6a3659da778ee7c07f7a487694b09070c0451f45 /src/parser/grammar/expressions.rs | |
parent | 351107d0b143e2c3497bd0f424f0d76bc51df0c0 (diff) |
Drop ErrorBuilder nonsense
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 | } |