rust/compiler/rustc_trait_selection/src
Matthias Krüger 2270bde01f
Rollup merge of #109495 - compiler-errors:new-solver-destruct, r=eholk,lcnr
Implement non-const `Destruct` trait in new solver

Makes it so that we can call stdlib methods like `Option::map` in **non-const** environments, since *many* stdlib methods have `Destruct` bounds 😅

This doesn't bother to implement `const Destruct` yet, but it shouldn't be too hard to do so. Just didn't bother since we already don't have much support for const traits in the new solver anyways. I'd be happy to add skeleton support for `const Destruct`, though, if the reviewer desires.
2023-03-24 07:13:05 +01:00
..
solve Rollup merge of #109495 - compiler-errors:new-solver-destruct, r=eholk,lcnr 2023-03-24 07:13:05 +01:00
traits Auto merge of #109547 - matthiaskrgr:rollup-zczqgdk, r=matthiaskrgr 2023-03-24 02:29:48 +00:00
errors.rs errors: generate typed identifiers in each crate 2023-02-22 09:15:53 +00:00
infer.rs remove some trait solver helpers 2023-03-21 09:57:20 +01:00
lib.rs Simplify message paths 2023-03-11 22:51:57 +01:00