about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/patch.rs
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2025-06-24 19:45:35 -0700
committerGitHub <noreply@github.com>2025-06-24 19:45:35 -0700
commitced61092ac6a49434b28c1656f53ec9f059d83f8 (patch)
tree88002ffb93cf185b68522ff14eb9571f1a8b4051 /compiler/rustc_mir_transform/src/patch.rs
parentc3816350ef6f66476639bba5859111144a0d70bf (diff)
parent46e9d2f9fc065e33cc54ccfa0e0e3c34376ebeaa (diff)
downloadrust-ced61092ac6a49434b28c1656f53ec9f059d83f8.tar.gz
rust-ced61092ac6a49434b28c1656f53ec9f059d83f8.zip
Rollup merge of #142980 - shepmaster:mismatched-syntaxes-multi-suggestions, r=ehuss
Reduce mismatched-lifetime-syntaxes suggestions to MaybeIncorrect

`cargo fix` does not have a way of distinguishing a suggestion with
multiple spans which should all be applied from multiple suggestions
where only one should be applied (see rust-lang/rust#53934). `cargo fix` only works
with `MachineApplicable` suggestions, so downgrading the applicability
will stop `cargo` from suggesting the user run `cargo
fix`. rust-analyzer does work with `MaybeIncorrect`, so interactive
fixes are still available.

r? `@ehuss`
Diffstat (limited to 'compiler/rustc_mir_transform/src/patch.rs')
0 files changed, 0 insertions, 0 deletions