rust/compiler/rustc_ty_utils/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
..
abi.rs Rename many interner functions. 2023-02-24 07:32:24 +11:00
assoc.rs IdentitySubsts::identity_for_item takes Into<DefId> 2023-03-21 15:38:52 +00:00
common_traits.rs remove some trait solver helpers 2023-03-21 09:57:20 +01:00
consts.rs Use local key in providers 2023-03-21 15:38:51 +00:00
errors.rs errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
implied_bounds.rs rustc_middle: Remove trait DefIdTree 2023-03-02 23:46:44 +04:00
instance.rs Remove type-traversal trait aliases 2023-02-22 17:04:58 +00:00
layout_sanity_check.rs stricter alignment enforcement for ScalarPair and Vector 2022-11-28 15:09:56 +01:00
layout.rs Layout of &dyn Trait<[type error]> is still wide 2023-03-13 21:35:20 +00:00
lib.rs Simplify message paths 2023-03-11 22:51:57 +01:00
needs_drop.rs Rename many interner functions. 2023-02-24 07:32:24 +11:00
representability.rs Use local key in providers 2023-03-21 15:38:51 +00:00
structural_match.rs Move has_structural_eq_impls provider to rustc_ty_utils 2022-12-08 05:16:48 +00:00
ty.rs Use local key in providers 2023-03-21 15:38:51 +00:00