rust/tests
Matthias Krüger ac500add80
Rollup merge of #141275 - dianne:gather-guard-pat-locals-once, r=compiler-errors
`gather_locals`: only visit guard pattern guards when checking the guard

When checking a pattern with guards in it, `GatherLocalsVisitor` will visit both the pattern (when type-checking the let, arm, or param containing it) and local declarations in the guard expression (when checking the guard itself). This keeps it from visiting the guard when visiting the pattern, since otherwise it would gather locals from the guard twice, which would lead to a delayed bug: "evaluated expression more than once".

Tracking issue for guard patterns: #129967
2025-05-20 16:50:41 +02:00
..
assembly Auto merge of #140925 - the8472:test-140207, r=compiler-errors 2025-05-12 04:32:50 +00:00
auxiliary stabilize naked_functions 2025-04-20 11:18:38 +02:00
codegen feat: add codegen test 2025-05-11 17:54:57 +02:00
codegen-units Remove mono item collection strategy override from -Zprint-mono-items 2025-05-09 12:19:09 +02:00
coverage coverage: Detect unused local file IDs to avoid an LLVM assertion 2025-05-10 00:24:03 +10:00
coverage-run-rustdoc Update coverage-run-rustdoc output 2025-03-28 10:35:53 +01:00
crashes Rollup merge of #141236 - jagunter:issue-140823, r=compiler-errors 2025-05-20 16:50:39 +02:00
debuginfo [win][arm64] Disable various DebugInfo tests that don't work on Arm64 Windows 2025-05-07 10:49:54 -07:00
incremental Remove manual WF hack 2025-05-07 16:29:59 +00:00
mir-opt make std::intrinsic functions actually be intrinsics 2025-05-20 08:09:16 +02:00
pretty feat: add generated parameters to generated function 2025-05-11 17:54:57 +02:00
run-make Rollup merge of #141045 - dpaoliello:noarmhazard, r=jieyouxu 2025-05-18 11:03:46 +02:00
rustdoc Created tests/rustdoc/async subfolder to limit number of files at the top level 2025-05-05 17:49:12 +02:00
rustdoc-gui rustdoc: add a handle that makes sidebar resizing more obvious 2025-05-09 12:38:00 -07:00
rustdoc-js rustdoc-search: add unbox flag to Result aliases 2025-04-11 11:36:40 -07:00
rustdoc-js-std Consistent trait bounds for ExtractIf Debug impls 2025-05-05 19:46:46 -07:00
rustdoc-json rustdoc-json: Remove newlines from attributes 2025-05-07 18:45:58 +00:00
rustdoc-ui Rollup merge of #139863 - fmease:simp-doctest-build-arg-passing, r=GuillaumeGomez 2025-05-09 21:50:06 +02:00
ui Rollup merge of #141275 - dianne:gather-guard-pat-locals-once, r=compiler-errors 2025-05-20 16:50:41 +02:00
ui-fulldeps Auto merge of #140453 - Zoxc:next-disambiguator, r=oli-obk 2025-05-05 11:50:43 +00:00
COMPILER_TESTS.md