diff options
Diffstat (limited to 'src/parser/grammar/items/use_item.rs')
-rw-r--r-- | src/parser/grammar/items/use_item.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/grammar/items/use_item.rs b/src/parser/grammar/items/use_item.rs index 38e7b3f8a..a3f7f0da8 100644 --- a/src/parser/grammar/items/use_item.rs +++ b/src/parser/grammar/items/use_item.rs | |||
@@ -37,7 +37,7 @@ fn use_tree(p: &mut Parser) { | |||
37 | L_CURLY => nested_trees(p), | 37 | L_CURLY => nested_trees(p), |
38 | _ => { | 38 | _ => { |
39 | // is this unreachable? | 39 | // is this unreachable? |
40 | p.error().message("expected `{` or `*`").emit(); | 40 | p.error("expected `{` or `*`"); |
41 | } | 41 | } |
42 | } | 42 | } |
43 | } | 43 | } |