rust/tests
Matthias Krüger 7bfccb3d7f
Rollup merge of #108687 - compiler-errors:reformulate-point_at_expr_source_of_inferred_type, r=oli-obk
Reformulate `point_at_expr_source_of_inferred_type` to be more accurate

Be more accurate when deducing where along the several usages of a binding it is constrained to be some type that is incompatible with an expectation.

This also renames the method to `note_source_of_type_mismatch_constraint` because I prefer that name, though I guess I can revert that. (Also drive-by rename `note_result_coercion` -> `suggest_coercing_result_via_try_operator`, because it's suggesting, not noting!)

This PR is (probably?) best reviewed per commit, but it does regress a bit only to fix it later on, so it could also be reviewed as a whole if that makes the final results more clear.

r? `@estebank`
2023-04-14 21:11:10 +02:00
..
assembly Add inline assembly support for m68k 2023-04-12 17:58:15 -07:00
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
codegen Auto merge of #109466 - davidlattimore:inline-arg-via-var-debug-info, r=wesleywiser 2023-04-13 01:51:27 +00:00
codegen-units Use unused_generic_params from crate metadata 2023-03-14 16:33:12 +00:00
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 Rollup merge of #110233 - nbdd0121:intrinsic, r=tmiasko 2023-04-13 21:58:37 +02:00
pretty Auto merge of #108148 - parthopdas:master, r=oli-obk 2023-03-20 03:24:27 +00:00
run-make Rollup merge of #109036 - chenyukang:yukang/fix-testcase, r=jyn514 2023-04-13 21:58:35 +02:00
run-make-fulldeps try to fix test-various 2023-04-02 17:54:24 -04:00
run-pass-valgrind Move /src/test to /tests 2023-01-11 09:32:08 +00:00
rustdoc Rollup merge of #110279 - GuillaumeGomez:compiler-macro-derive, r=notriddle 2023-04-14 07:58:41 +02:00
rustdoc-gui Auto merge of #110252 - matthiaskrgr:rollup-ovaixra, r=matthiaskrgr 2023-04-12 22:19:29 +00: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 Rollup merge of #103682 - Swatinem:stable-run-directory, r=GuillaumeGomez 2023-04-14 23:00:33 +09:00
ui Rollup merge of #108687 - compiler-errors:reformulate-point_at_expr_source_of_inferred_type, r=oli-obk 2023-04-14 21:11:10 +02:00
ui-fulldeps Rollup merge of #110315 - oli-obk:mor_smir, r=WaffleLapkin 2023-04-14 23:00:36 +09:00
COMPILER_TESTS.md Move /src/test to /tests 2023-01-11 09:32:08 +00:00