rust/src/test
Manish Goregaokar 1e94fe1a45
Rollup merge of #88270 - lqd:hrtb-type-ascription, r=nikomatsakis
Handle type ascription type ops in NLL HRTB diagnostics

Currently, there are still a few cases of the "higher-ranked subtype error" of yore, 4 of which are related to type ascription.

This PR is a follow-up to #86700, adding support for type ascription type ops, and makes 3 of these tests output the same diagnostics in NLL mode as the migrate mode (and 1 is now much closer, especially if you ignore that it already outputs an additional error in NLL mode -- which could be a duplicate caused by a lack of normalization like [these comments point out](9583fd1bdd/compiler/rustc_traits/src/type_op.rs (L122-L157)), or an imprecision in some parts of normalization as [described here](https://github.com/rust-lang/rust/pull/86700#discussion_r689086688)).

Since we discussed these recently:
- [here](https://github.com/rust-lang/rust/pull/86700#discussion_r689158868), cc ````@matthewjasper,````
- and [here](https://github.com/rust-lang/rust/issues/57374#issuecomment-901500856), cc ````@Aaron1011.````

It should only leave [this TAIT test](9583fd1bdd/src/test/ui/type-alias-impl-trait/issue-57611-trait-alias.rs) as still emitting [the terse error](9583fd1bdd/src/test/ui/type-alias-impl-trait/issue-57611-trait-alias.nll.stderr).

r? ````@estebank```` (so that they shake their fist at NLL's general direction less often) or ````@nikomatsakis```` or matthew or aaron, the more the merrier.
2021-08-26 12:38:09 -07:00
..
assembly Re-Annotate the tests with needs-llvm-components 2021-06-24 23:13:08 +03:00
auxiliary
codegen don't generate partially-undef consts 2021-08-25 17:49:28 -04:00
codegen-units
debuginfo Add test for stepping though match expressions 2021-08-26 09:34:31 -04:00
incremental Rollup merge of #88230 - steffahn:a_an, r=oli-obk 2021-08-23 20:45:49 +02:00
mir-opt Fix debugger stepping behavior around match expressions 2021-08-25 15:17:22 -04:00
pretty Make Arguments constructors unsafe 2021-08-16 16:28:16 +00:00
run-make Update tests 2021-08-24 11:39:22 -04:00
run-make-fulldeps Auto merge of #85344 - cbeuw:remap-across-cwd, r=michaelwoerister 2021-08-25 10:58:43 +00:00
run-pass-valgrind
rustdoc Rollup merge of #88215 - jyn514:lazy-loading, r=petrochenkov 2021-08-26 12:38:07 -07:00
rustdoc-gui Rollup merge of #88093 - Kobzol:rustdoc-wrap-code-in-code-tag, r=GuillaumeGomez 2021-08-19 19:30:09 +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-ui Rollup merge of #88215 - jyn514:lazy-loading, r=petrochenkov 2021-08-26 12:38:07 -07:00
rustfix
ui Rollup merge of #88270 - lqd:hrtb-type-ascription, r=nikomatsakis 2021-08-26 12:38:09 -07:00
ui-fulldeps Fix typos “an”→“a” and a few different ones that appeared in the same search 2021-08-22 18:15:49 +02:00
COMPILER_TESTS.md