rust/tests
Matthias Krüger 145e6204bc
Rollup merge of #108947 - compiler-errors:ct-infer-no-shapeshifting, r=BoxyUwU
Don't even try to combine consts with incompatible types

~I left a more detailed explanation for why this fixes this issue in the UI test, but in general, we should not try to unify const infer vars and rigid consts if they have incompatible types. That's because we don't want something like a `ConstArgHasType` predicate to suddenly go from passing to failing, or vice versa, due to a shallow resolve.~

1. Use the `type_of` for a parameter in `try_eval_lit_or_param`, instead of the "expected" type from a `WithOptConstParam` def id.
2. Don't combine consts that have incompatible types.

Fixes #108781
2023-03-10 19:59:20 +01:00
..
assembly
auxiliary
codegen Auto merge of #108763 - scottmcm:indexing-nuw-lengths, r=cuviper 2023-03-07 13:17:59 +00:00
codegen-units
debuginfo
incremental
mir-opt Introduce a no-op PlaceMention statement for let _ =. 2023-03-09 17:45:13 +00:00
pretty
run-make Update coverage info. 2023-03-09 17:51:38 +00:00
run-make-fulldeps rustdoc: fix test case for custom themes 2023-03-08 12:49:35 -07:00
run-pass-valgrind
rustdoc Rollup merge of #108936 - GuillaumeGomez:rustdoc-anonymous-reexport, r=notriddle 2023-03-10 12:31:58 +01:00
rustdoc-gui Rollup merge of #106915 - notriddle:notriddle/load-only-one-theme, r=GuillaumeGomez,jsha 2023-03-09 12:11:52 +01:00
rustdoc-js
rustdoc-js-std
rustdoc-json
rustdoc-ui
ui Rollup merge of #108947 - compiler-errors:ct-infer-no-shapeshifting, r=BoxyUwU 2023-03-10 19:59:20 +01:00
ui-fulldeps Rollup merge of #108846 - celinval:smir-poc, r=oli-obk 2023-03-08 21:24:50 +01:00
COMPILER_TESTS.md