mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Remove filtered completion list usage in completion tests
This commit is contained in:
parent
142b6dc650
commit
722489e3ff
14 changed files with 1746 additions and 1346 deletions
|
@ -134,7 +134,6 @@ impl<'a> CompletionContext<'a> {
|
|||
// check kind of macro-expanded token, but use range of original token
|
||||
let kind = self.token.kind();
|
||||
if kind == IDENT || kind == LIFETIME_IDENT || kind == UNDERSCORE || kind.is_keyword() {
|
||||
cov_mark::hit!(completes_if_prefix_is_keyword);
|
||||
self.original_token.text_range()
|
||||
} else if kind == CHAR {
|
||||
// assume we are completing a lifetime but the user has only typed the '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue