fix: remove insufficient check for coloncolon
This commit is contained in:
parent
a6d0e342a3
commit
7a568f7f95
@ -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…
x
Reference in New Issue
Block a user