Merge pull request #19531 from Veykril/push-kxyrpznnllkx

fix: Fix `format_args` lowering for >=1.87
This commit is contained in:
Lukas Wirth 2025-04-06 08:18:23 +00:00 committed by GitHub
commit 7e00f91a72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 128 additions and 53 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::QuickFix),
Some(it) => it.contains(&AssistKind::QuickFix),
None => true,
};