rust/compiler/rustc_trait_selection
Matthias Krüger a9ffe7c738
Rollup merge of #105342 - compiler-errors:note_cause_code-takes-predicate, r=fee1-dead
Make `note_obligation_cause_code`  take a `impl ToPredicate` for predicate

The only usecase that wasn't `impl ToPredicate` was noting overflow errors while revealing opaque types, which passed in an `Obligation<'tcx, Ty<'tcx>>`... Since this only happens in a `RevealAll` environment, which is after typeck (and probably primarily within `normalize_erasing_regions`) we're unlikely to display anything useful while noting this code, evidenced by the lack of UI test changes.
2022-12-06 13:27:45 +01:00
..
src Rollup merge of #105342 - compiler-errors:note_cause_code-takes-predicate, r=fee1-dead 2022-12-06 13:27:45 +01:00
Cargo.toml Remove from compiler/ crates 2022-09-29 16:49:04 +09:00