This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit d92155b
committed
Auto merge of rust-lang#73971 - ssomers:slice_slasher, r=Mark-Simulacrum
BTreeMap mutable iterators should not take any reference to visited nodes during iteration
Fixes rust-lang#73915, overlapping mutable references during BTreeMap iteration
r? `@RalfJung`6 files changed
+206
-164
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2796 | 2796 | | |
2797 | 2797 | | |
2798 | 2798 | | |
2799 | | - | |
2800 | | - | |
| 2799 | + | |
| 2800 | + | |
2801 | 2801 | | |
2802 | 2802 | | |
2803 | 2803 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
123 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
124 | 131 | | |
125 | 132 | | |
126 | 133 | | |
| |||
432 | 439 | | |
433 | 440 | | |
434 | 441 | | |
435 | | - | |
436 | 442 | | |
437 | 443 | | |
438 | 444 | | |
| |||
455 | 461 | | |
456 | 462 | | |
457 | 463 | | |
458 | | - | |
459 | 464 | | |
460 | 465 | | |
461 | 466 | | |
| |||
471 | 476 | | |
472 | 477 | | |
473 | 478 | | |
474 | | - | |
475 | 479 | | |
476 | 480 | | |
477 | 481 | | |
| |||
515 | 519 | | |
516 | 520 | | |
517 | 521 | | |
518 | | - | |
519 | 522 | | |
520 | 523 | | |
521 | 524 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
370 | 369 | | |
371 | 370 | | |
372 | 371 | | |
| |||
376 | 375 | | |
377 | 376 | | |
378 | 377 | | |
379 | | - | |
380 | | - | |
| 378 | + | |
381 | 379 | | |
382 | 380 | | |
383 | 381 | | |
384 | 382 | | |
385 | 383 | | |
386 | | - | |
387 | 384 | | |
388 | 385 | | |
389 | 386 | | |
| |||
393 | 390 | | |
394 | 391 | | |
395 | 392 | | |
396 | | - | |
397 | | - | |
| 393 | + | |
398 | 394 | | |
399 | 395 | | |
400 | 396 | | |
| |||
0 commit comments