internal: remove dead code

This commit is contained in:
Aleksey Kladov 2021-09-15 21:22:06 +03:00
parent 726a2aa211
commit 73b0f9dc04
10 changed files with 10 additions and 43 deletions

View file

@ -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,
}
}