rust/compiler/rustc_mir_build/src
bors 9bdb4881c7 Auto merge of #109119 - lcnr:trait-system-cleanup, r=compiler-errors
a general type system cleanup

removes the helper functions `traits::fully_solve_X` as they add more complexity then they are worth. It's confusing which of these helpers should be used in which context.

changes the way we deal with overflow to always add depth in `evaluate_predicates_recursively`. It may make sense to actually fully transition to not have `recursion_depth` on obligations but that's probably a bit too much for this PR.

also removes some other small - and imo unnecessary - helpers.

r? types
2023-03-22 05:33:18 +00:00
..
build Auto merge of #109119 - lcnr:trait-system-cleanup, r=compiler-errors 2023-03-22 05:33:18 +00:00
thir remove some trait solver helpers 2023-03-21 09:57:20 +01:00
check_unsafety.rs Don't trim path for unsafe_op_in_unsafe_fn lints 2023-01-03 00:28:54 +01:00
errors.rs Restrict #[rustc_box] to Box::new calls 2023-03-02 02:42:19 +00:00
lib.rs Simplify message paths 2023-03-11 22:51:57 +01:00
lints.rs IdentitySubsts::identity_for_item takes Into<DefId> 2023-03-21 15:38:52 +00:00