mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Do not propose already imported imports
This commit is contained in:
parent
9482353fa8
commit
89d410cef5
4 changed files with 45 additions and 27 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue