fix: remove insufficient check for coloncolon

This commit is contained in:
yue4u 2022-11-20 01:29:02 +09:00
parent a6d0e342a3
commit 7a568f7f95
2 changed files with 0 additions and 10 deletions

View file

@ -585,9 +585,6 @@ impl<'a> CompletionContext<'a> {
return None;
}
}
T![::] if !is_prev_token_valid_path_start_or_segment(&original_token) => {
return None;
}
_ => {}
}

View file

@ -977,13 +977,6 @@ fn foo { crate:::$0 }
check(
r#"
fn foo { crate::::$0 }
"#,
expect![""],
);
check(
r#"
fn foo { crate:::::$0 }
"#,
expect![""],
);