aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/src/grammar/expressions
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libsyntax2/src/grammar/expressions')
-rw-r--r--crates/libsyntax2/src/grammar/expressions/atom.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/grammar/expressions/atom.rs b/crates/libsyntax2/src/grammar/expressions/atom.rs
index af9f47c5e..e62b16654 100644
--- a/crates/libsyntax2/src/grammar/expressions/atom.rs
+++ b/crates/libsyntax2/src/grammar/expressions/atom.rs
@@ -284,7 +284,7 @@ pub(super) fn block_expr(p: &mut Parser) -> CompletedMarker {
284 // test block_items 284 // test block_items
285 // fn a() { fn b() {} } 285 // fn a() { fn b() {} }
286 let m = p.start(); 286 let m = p.start();
287 match items::maybe_item(p) { 287 match items::maybe_item(p, items::ItemFlavor::Mod) {
288 items::MaybeItem::Item(kind) => { 288 items::MaybeItem::Item(kind) => {
289 m.complete(p, kind); 289 m.complete(p, kind);
290 } 290 }