diff options
| author | bors <bors@rust-lang.org> | 2024-05-08 12:23:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-08 12:23:24 +0000 |
| commit | 30b3b73aa67f686db7370e490bf830ab2ddca8d6 (patch) | |
| tree | cb06aebd77cdb472051036ad8fcb44cbec3b13ab /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | befb659145a734e51a3708ff84315ae07123c880 (diff) | |
| parent | 362ef42b68567bfa963f53cce1dc7419b0d64ef6 (diff) | |
| download | rust-30b3b73aa67f686db7370e490bf830ab2ddca8d6.tar.gz rust-30b3b73aa67f686db7370e490bf830ab2ddca8d6.zip | |
Auto merge of #12777 - roife:merge-fixes-needless-late-init, r=Alexendoo
fix: merge multiple suggestions into a single multi-span suggestion in `needless_late_init` See https://github.com/rust-lang/rust-analyzer/issues/17163#issuecomment-2097840922. Currently, the fix for `needless_late_init` would modify multiple parts in the file. However, these modifications are exported as separate suggestions instead of a unified 'multi-part suggestion'. Consequently, rust-analyzer is unable to perform the fix correctly when applying suggestions automatically, as only one suggestion is processed at a time. This PR addresses this issue by merge all modifications into a single multi-part suggestion. changelog: [`needless_late_init`]: merge multiple fixes into a single multi-span fix.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
