limit the names_possiblilities to less than 3
Co-authored-by: Urgau <3616612+Urgau@users.noreply.github.com>
This commit is contained in:
parent
c36798357d
commit
0213c87e12
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ pub(super) fn builtin(
|
|||
|
||||
is_feature_cfg |= best_match == sym::feature;
|
||||
} else {
|
||||
if !names_possibilities.is_empty() {
|
||||
if !names_possibilities.is_empty() && names_possibilities.len() <= 3 {
|
||||
names_possibilities.sort();
|
||||
for cfg_name in names_possibilities.iter() {
|
||||
db.span_suggestion(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue