diff options
Diffstat (limited to 'crates/ra_syntax/src/grammar/mod.rs')
-rw-r--r-- | crates/ra_syntax/src/grammar/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/grammar/mod.rs b/crates/ra_syntax/src/grammar/mod.rs index 95c437983..06a37d648 100644 --- a/crates/ra_syntax/src/grammar/mod.rs +++ b/crates/ra_syntax/src/grammar/mod.rs | |||
@@ -53,7 +53,7 @@ pub(crate) fn root(p: &mut Parser) { | |||
53 | let m = p.start(); | 53 | let m = p.start(); |
54 | p.eat(SHEBANG); | 54 | p.eat(SHEBANG); |
55 | items::mod_contents(p, false); | 55 | items::mod_contents(p, false); |
56 | m.complete(p, ROOT); | 56 | m.complete(p, SOURCE_FILE); |
57 | } | 57 | } |
58 | 58 | ||
59 | #[derive(Clone, Copy, PartialEq, Eq)] | 59 | #[derive(Clone, Copy, PartialEq, Eq)] |