mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 14:03:35 +00:00
fix: remove insufficient check for coloncolon
This commit is contained in:
parent
a6d0e342a3
commit
7a568f7f95
2 changed files with 0 additions and 10 deletions
|
@ -585,9 +585,6 @@ impl<'a> CompletionContext<'a> {
|
|||
return None;
|
||||
}
|
||||
}
|
||||
T![::] if !is_prev_token_valid_path_start_or_segment(&original_token) => {
|
||||
return None;
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
||||
|
|
|
@ -977,13 +977,6 @@ fn foo { crate:::$0 }
|
|||
check(
|
||||
r#"
|
||||
fn foo { crate::::$0 }
|
||||
"#,
|
||||
expect![""],
|
||||
);
|
||||
|
||||
check(
|
||||
r#"
|
||||
fn foo { crate:::::$0 }
|
||||
"#,
|
||||
expect![""],
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue