rust/src/test
bors 4e880f8cbc Auto merge of #88214 - notriddle:notriddle/for-loop-span-drop-temps-mut, r=nagisa
rustc: use more correct span data in for loop desugaring

Fixes #82462

Before:

      help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped
         |
      LL |     for x in DroppingSlice(&*v).iter(); {
         |                                       +

After:

      help: consider adding semicolon after the expression so its temporaries are dropped sooner, before the local variables declared by the block are dropped
         |
      LL |     };
         |      +

This seems like a reasonable fix: since the desugared "expr_drop_temps_mut" contains the entire desugared loop construct, its span should contain the entire loop construct as well.
2021-09-11 07:11:01 +00:00
..
assembly Rollup merge of #88350 - programmerjake:add-ppc-cr-xer-clobbers, r=Amanieu 2021-09-01 09:23:26 +02:00
auxiliary
codegen Rollup merge of #88350 - programmerjake:add-ppc-cr-xer-clobbers, r=Amanieu 2021-09-01 09:23:26 +02:00
codegen-units
debuginfo Temporarily ignore some debuginfo tests on windows. 2021-09-10 14:08:19 +02:00
incremental Report cycle error using 'deepest' obligation in the cycle 2021-09-02 11:49:32 -05:00
mir-opt Auto merge of #88214 - notriddle:notriddle/for-loop-span-drop-temps-mut, r=nagisa 2021-09-11 07:11:01 +00:00
pretty Make Arguments constructors unsafe 2021-08-16 16:28:16 +00:00
run-make Auto merge of #88161 - michaelwoerister:fix-whole-archive-no-bundle, r=petrochenkov 2021-09-07 12:31:11 +00:00
run-make-fulldeps Update run-make-fulldeps. 2021-09-08 20:40:27 +02:00
run-pass-valgrind
rustdoc Rollup merge of #88742 - GuillaumeGomez:fix-table-in-docblocks, r=nbdd0121 2021-09-10 08:23:24 -07:00
rustdoc-gui Add tests to ensure that <table> don't break doc blocks width anymore 2021-09-08 15:09:47 +02:00
rustdoc-js fix(rustdoc): generics search 2021-07-01 06:40:27 -07:00
rustdoc-js-std fix(rustdoc): generics search 2021-07-01 06:40:27 -07:00
rustdoc-json rustdoc: Clean up handling of lifetime bounds 2021-09-02 14:27:59 -07:00
rustdoc-ui Add test for enum tuple variants and tuple struct doc count 2021-09-10 10:49:42 +02:00
ui Auto merge of #88214 - notriddle:notriddle/for-loop-span-drop-temps-mut, r=nagisa 2021-09-11 07:11:01 +00:00
ui-fulldeps Detect bare blocks with type ascription that were meant to be a struct literal 2021-09-03 14:43:04 +00:00
COMPILER_TESTS.md