diff options
| author | bors <bors@rust-lang.org> | 2023-01-28 10:00:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-01-28 10:00:56 +0000 |
| commit | 3a68217f49ce846966d1d533a1868651202d0cb9 (patch) | |
| tree | 947f2e436bf191029b427132b7866f8bcfc7280e /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | 06e785548b1367c581c0713fa66635e074b2425e (diff) | |
| parent | 10c868686df84794dc449972d173a29d53b1b116 (diff) | |
| download | rust-3a68217f49ce846966d1d533a1868651202d0cb9.tar.gz rust-3a68217f49ce846966d1d533a1868651202d0cb9.zip | |
Auto merge of #106916 - lukas-code:overlapping-substs, r=estebank
Remove overlapping parts of multipart suggestions This PR adds a debug assertion that the parts of a single substitution cannot overlap, fixes a overlapping substitution from the testsuite, and fixes https://github.com/rust-lang/rust/issues/106870. Note that a single suggestion can still have multiple overlapping substitutions / possible edits, we just don't suggest overlapping replacements in a single edit anymore. I've also included a fix for an unrelated bug where rustfix for `explicit_outlives_requirements` would produce multiple trailing commas for a where clause.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
