Do not propose already imported imports

This commit is contained in:
Kirill Bulatov 2021-02-28 10:32:15 +02:00
parent 9482353fa8
commit 89d410cef5
4 changed files with 45 additions and 27 deletions

View file

@ -774,7 +774,7 @@ fn find_root(node: &SyntaxNode) -> SyntaxNode {
///
/// Note that if you are wondering "what does this specific existing name mean?",
/// you'd better use the `resolve_` family of methods.
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct SemanticsScope<'a> {
pub db: &'a dyn HirDatabase,
file_id: HirFileId,