fix(ide-assists): remove AssistKind::None

This was being used by a single assist, which qualifies under the "refactor"
kind. The variant has been removed, and all usages updated accordingly.

Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
This commit is contained in:
Prajwal S N 2025-04-03 14:29:02 +05:30
parent c7845a6d70
commit e02d76aa61
No known key found for this signature in database
GPG key ID: 60701A603988FAC2
5 changed files with 5 additions and 15 deletions

View file

@ -753,7 +753,7 @@ impl Analysis {
frange: FileRange,
) -> Cancellable<Vec<Assist>> {
let include_fixes = match &assist_config.allowed {
Some(it) => it.iter().any(|&it| it == AssistKind::None || it == AssistKind::QuickFix),
Some(it) => it.iter().any(|&it| it == AssistKind::QuickFix),
None => true,
};