rust/src/test
bors dda2a0eca4 Auto merge of #89045 - oli-obk:lazy_normalization_in_opaque_types, r=nikomatsakis
Register normalization obligations instead of immediately normalizing in opaque type instantiation

For lazy TAIT we will need to instantiate opaque types from within `rustc_infer`, which cannot invoke normalization methods (they are in `rustc_trait_resolution`). So before we move the logic over to `rustc_infer`, we need make sure no normalization happens anymore. This PR resolves that by just registering normalization obligations and continuing.

This PR is best reviewed commit by commit

I also included f7ad36e which is just an independent cleanup that touches the same code and reduces diagnostics noise a bit

r? `@nikomatsakis` cc `@spastorino`
2021-09-21 10:33:15 +00:00
..
assembly enum niche allocation grows toward zero if possible 2021-09-13 21:55:14 +02:00
auxiliary
codegen Add test for -Z panic-in-drop=abort 2021-09-11 16:13:30 +01:00
codegen-units
debuginfo Auto merge of #88842 - wesleywiser:fix_dbg_tests_windows_sdk, r=michaelwoerister 2021-09-20 03:53:10 +00:00
incremental Bless incremental tests. 2021-09-20 08:32:21 +02:00
mir-opt ./x.py test --bless 2021-09-18 00:00:00 +00:00
pretty Revert "Add test for pretty printing anonymous types" 2021-09-09 09:14:16 -04: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 Set the library path in sysroot-crates-are-unstable 2021-09-16 17:30:36 -07:00
run-pass-valgrind
rustdoc Add test for primitive in "jump to definition" feature 2021-09-13 17:44:39 +02:00
rustdoc-gui Rollup merge of #88896 - GuillaumeGomez:flakyness, r=camelid 2021-09-13 21:20:43 +02:00
rustdoc-js fix(rustdoc): generics search 2021-07-01 06:40:27 -07:00
rustdoc-js-std Fix linkcheck issues 2021-09-12 02:30:24 +00:00
rustdoc-json rustdoc: Clean up handling of lifetime bounds 2021-09-02 14:27:59 -07:00
rustdoc-ui Don't lint about missing code examples in derived traits 2021-09-17 00:39:15 +02:00
ui Auto merge of #89045 - oli-obk:lazy_normalization_in_opaque_types, r=nikomatsakis 2021-09-21 10:33:15 +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