From 2ed1514df3f8837ccebdbbfdadbe89e79b4a4365 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 7 Nov 2018 18:38:43 +0300 Subject: rename ROOT -> SOURCE_FILE --- crates/ra_analysis/src/descriptors/module/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_analysis/src/descriptors') diff --git a/crates/ra_analysis/src/descriptors/module/mod.rs b/crates/ra_analysis/src/descriptors/module/mod.rs index 03330240d..5301f44ab 100644 --- a/crates/ra_analysis/src/descriptors/module/mod.rs +++ b/crates/ra_analysis/src/descriptors/module/mod.rs @@ -52,7 +52,7 @@ pub(crate) enum ModuleSource { /// An owned syntax node for a module. Unlike `ModuleSource`, /// this holds onto the AST for the whole file. enum ModuleSourceNode { - Root(ast::RootNode), + Root(ast::SourceFileNode), Inline(ast::ModuleNode), } -- cgit v1.2.3