mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
rename ROOT -> SOURCE_FILE
This commit is contained in:
parent
f8b36bbc3b
commit
2ed1514df3
185 changed files with 235 additions and 236 deletions
|
@ -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),
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue