Less lifetines: derive SemanticsScope in place

This commit is contained in:
Kirill Bulatov
2021-03-08 00:25:45 +02:00
parent db61d4ea13
commit dccbb38d2e
7 changed files with 49 additions and 50 deletions

View File

@@ -17,7 +17,7 @@ use rustc_hash::FxHashSet;
pub(crate) const DEFAULT_QUERY_SEARCH_LIMIT: usize = 40;
pub fn with_for_exact_name(
pub fn with_exact_name(
sema: &Semantics<'_, RootDatabase>,
krate: Crate,
exact_name: String,