rust/compiler/rustc_trait_selection/src
bors e6d2de9483 Auto merge of #91230 - eggyal:fallible-type-fold, r=jackh726
Make `TypeFolder::fold_*` return `Result`

Implements rust-lang/compiler-team#432.

Initially this is just a rebase of `@LeSeulArtichaut's` work in #85469 (abandoned; see https://github.com/rust-lang/rust/pull/85485#issuecomment-908781112).  At that time, it caused a regression in performance that required some further exploration... with this rebased PR bors can hopefully report some perf analysis from which we can investigate further (if the regression is indeed still present).

r? `@jackh726` cc `@nikomatsakis`
2021-11-28 13:04:27 +00:00
..
traits Auto merge of #91230 - eggyal:fallible-type-fold, r=jackh726 2021-11-28 13:04:27 +00:00
autoderef.rs Make select_* methods return Vec for TraitEngine 2021-11-08 23:35:23 +08:00
infer.rs Move some outlives bounds things from rustc_trait_selection to rustc_typeck 2021-10-15 12:14:19 -04:00
lib.rs Unwrap the results of type folders 2021-11-26 07:38:25 +00:00
opaque_types.rs Unwrap the results of type folders 2021-11-26 07:38:25 +00:00