Commit ced6109
authored
Rollup merge of rust-lang#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#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`1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3278 | 3278 | | |
3279 | 3279 | | |
3280 | 3280 | | |
3281 | | - | |
| 3281 | + | |
3282 | 3282 | | |
3283 | 3283 | | |
3284 | 3284 | | |
| |||
3293 | 3293 | | |
3294 | 3294 | | |
3295 | 3295 | | |
3296 | | - | |
| 3296 | + | |
3297 | 3297 | | |
3298 | 3298 | | |
3299 | 3299 | | |
| |||
3308 | 3308 | | |
3309 | 3309 | | |
3310 | 3310 | | |
3311 | | - | |
| 3311 | + | |
3312 | 3312 | | |
3313 | 3313 | | |
3314 | 3314 | | |
| |||
0 commit comments