rust/tests
bors 661b33f524 Auto merge of #109935 - michaelwoerister:fix-feed-in-eval-always, r=cjgillot
incr.comp.: Make sure dependencies are recorded when feeding queries during eval-always queries.

This PR makes sure we don't drop dependency edges when feeding queries during an eval-always query.

Background: During eval-always queries, no dependencies are recorded because the system knows to unconditionally re-evaluate them regardless of any actual dependencies. This works fine for these queries themselves but leads to a problem when feeding other queries: When queries are fed, we set up their dependency edges by copying the current set of dependencies of the feeding query. But because this set is empty for eval-always queries, we record no edges at all -- which has the effect that the fed query instances always look "green" to the system, although they should always be "red".

The fix is to explicitly add a dependency on the artificial "always red" dep-node when feeding during eval-always queries.

Fixes https://github.com/rust-lang/rust/issues/108481
Maybe also fixes issue https://github.com/rust-lang/rust/issues/88488.

cc `@jyn514`

r? `@cjgillot` or `@oli-obk`
2023-04-12 11:16:35 +00:00
..
assembly Fix an assembly test with a hard-coded hash 2023-04-05 15:59:29 +00:00
auxiliary
codegen Auto merge of #109895 - nikic:llvm-16-tests, r=cuviper 2023-04-12 02:30:21 +00:00
codegen-units
debuginfo Fix function order in an msvc debuginfo test 2023-04-05 15:59:29 +00:00
incremental incr.comp.: Make sure dependencies are recorded when feeding queries during eval-always queries. 2023-04-04 14:38:46 +02:00
mir-opt Auto merge of #102906 - nbdd0121:mir, r=wesleywiser,tmiasko 2023-04-07 10:31:14 +00:00
pretty Auto merge of #108148 - parthopdas:master, r=oli-obk 2023-03-20 03:24:27 +00:00
run-make Fix coverage test 2023-04-07 10:18:28 +01:00
run-make-fulldeps try to fix test-various 2023-04-02 17:54:24 -04:00
run-pass-valgrind
rustdoc Bless rustdoc test with swapped ids 2023-04-05 15:59:29 +00:00
rustdoc-gui Update rustdoc GUI tests to new browser-ui-test version 2023-04-11 19:14:35 +02:00
rustdoc-js rustdoc: add support for type filters in arguments and generics 2023-03-20 22:41:57 -07:00
rustdoc-js-std rustdoc: add support for type filters in arguments and generics 2023-03-20 22:41:57 -07:00
rustdoc-json Update tests for rustc_doc_primitive 2023-03-30 22:56:52 +02:00
rustdoc-ui fix(doc): do not parse inline when output is json for external crate 2023-04-10 23:02:08 +08:00
ui Auto merge of #107614 - compiler-errors:allow-elaborator-to-filter-only-super-traits, r=oli-obk 2023-04-12 08:39:19 +00:00
ui-fulldeps Migrate most of rustc_builtin_macros to diagnostic impls 2023-04-10 21:16:53 +01:00
COMPILER_TESTS.md