Rename compound things to variant things
This commit is contained in:
parent
46008d4cf4
commit
4fe5f03c7f
10 changed files with 101 additions and 36 deletions
|
|
@ -192,7 +192,7 @@ fn should_add_parens(ctx: &CompletionContext) -> bool {
|
|||
Some(PathCompletionCtx { kind: Some(PathKind::Expr), has_call_parens: true, .. }) => {
|
||||
return false
|
||||
}
|
||||
Some(PathCompletionCtx { kind: Some(PathKind::Use), .. }) => {
|
||||
Some(PathCompletionCtx { kind: Some(PathKind::Use | PathKind::Type), .. }) => {
|
||||
cov_mark::hit!(no_parens_in_use_item);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue