rust/src/test
Dylan DPC a89eab9bca
Rollup merge of #83521 - sexxi-goose:quick-diagnostic-fix, r=nikomatsakis
2229: Fix diagnostic issue when using FakeReads in closures

This PR fixes a diagnostic issue caused by https://github.com/rust-lang/rust/pull/82536. A temporary work around was used in this merged PR which involved feature gating the addition of FakeReads introduced as a result of pattern matching in closures.

The fix involves adding an optional closure DefId to ForLet and ForMatchedPlace FakeReadCauses. This DefId will only be added if a closure pattern matches a Place starting with an Upvar.

r? ```@nikomatsakis```
2021-04-04 19:20:01 +02:00
..
assembly Mark inline asm tests as requiring LLVM 10.0.1 2021-03-25 20:21:58 +00:00
auxiliary
codegen Simplify logical operations CFG 2021-04-01 18:34:11 +03:00
codegen-units Deprecate items that accidentally weren't deprecated 2021-03-09 19:09:20 -05:00
debuginfo Update tests for extern block linting 2021-01-13 07:49:16 -05:00
incremental Add var to BoundRegion. Add query to get bound vars for applicable items. 2021-03-31 10:16:37 -04:00
mir-opt Fix diagnostic issue when using FakeReads in closures 2021-04-02 19:11:50 -04:00
pretty Update test/pretty output for edition preludes. 2021-02-25 13:43:11 +01:00
run-make Rollup merge of #83478 - jyn514:fine-grained-files, r=Mark-Simulacrum 2021-04-02 19:57:30 +02:00
run-make-fulldeps Translate counters from Rust 1-based to LLVM 0-based counter ids 2021-04-02 17:16:36 -07:00
run-pass-valgrind Update tests for extern block linting 2021-01-13 07:49:16 -05:00
rustdoc Auto merge of #83738 - jyn514:only-load-some-crates, r=petrochenkov 2021-04-03 10:59:24 +00:00
rustdoc-gui Add test to ensure search tabs behaviour 2021-04-01 21:55:20 +02:00
rustdoc-js Add test for primitive search 2021-02-01 15:56:51 +01:00
rustdoc-js-std Add search index test for primitive types 2021-01-27 10:05:06 +01:00
rustdoc-json Rename span to source 2021-03-24 19:44:23 +00:00
rustdoc-ui Auto merge of #83738 - jyn514:only-load-some-crates, r=petrochenkov 2021-04-03 10:59:24 +00:00
rustfix
ui Auto merge of #81866 - nagisa:nagisa/sanitizer-support-target-prop, r=tmiasko 2021-04-02 23:33:01 +00:00
ui-fulldeps Fix fulldeps tests. 2021-03-30 23:51:15 +02:00
COMPILER_TESTS.md