mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 11:59:49 +00:00
internal: remove dead code
This commit is contained in:
parent
726a2aa211
commit
73b0f9dc04
10 changed files with 10 additions and 43 deletions
|
@ -43,7 +43,6 @@ pub(crate) struct SourceAnalyzer {
|
|||
body: Option<Arc<Body>>,
|
||||
body_source_map: Option<Arc<BodySourceMap>>,
|
||||
infer: Option<Arc<InferenceResult>>,
|
||||
scopes: Option<Arc<ExprScopes>>,
|
||||
}
|
||||
|
||||
impl SourceAnalyzer {
|
||||
|
@ -65,7 +64,6 @@ impl SourceAnalyzer {
|
|||
body: Some(body),
|
||||
body_source_map: Some(source_map),
|
||||
infer: Some(db.infer(def)),
|
||||
scopes: Some(scopes),
|
||||
file_id: node.file_id,
|
||||
}
|
||||
}
|
||||
|
@ -79,7 +77,6 @@ impl SourceAnalyzer {
|
|||
body: None,
|
||||
body_source_map: None,
|
||||
infer: None,
|
||||
scopes: None,
|
||||
file_id: node.file_id,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue