mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-03 05:13:35 +00:00
Merge pull request #19531 from Veykril/push-kxyrpznnllkx
fix: Fix `format_args` lowering for >=1.87
This commit is contained in:
commit
7e00f91a72
7 changed files with 128 additions and 53 deletions
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue