mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 11:59:49 +00:00
Improve code structure
Make sure that there's only one entry point, analyze, remove awkard analyzer2 name
This commit is contained in:
parent
15a644d606
commit
4015ff0e0b
2 changed files with 23 additions and 25 deletions
|
@ -37,7 +37,7 @@ use base_db::CrateId;
|
|||
/// original source files. It should not be used inside the HIR itself.
|
||||
#[derive(Debug)]
|
||||
pub(crate) struct SourceAnalyzer {
|
||||
file_id: HirFileId,
|
||||
pub(crate) file_id: HirFileId,
|
||||
pub(crate) resolver: Resolver,
|
||||
body: Option<Arc<Body>>,
|
||||
body_source_map: Option<Arc<BodySourceMap>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue