rust/compiler/rustc_trait_selection/src
Matthias Krüger cb1d80d1e5
Rollup merge of #130273 - lcnr:overflow-no-constraints, r=compiler-errors
more eagerly discard constraints on overflow

We always discard the results of overflowing goals inside of the trait solver. We previously did so when instantiating the response in `evaluate_goal`. Canonicalizing results only to later discard them is also  inefficient 🤷

It's simpler and nicer to debug to eagerly discard constraints inside of the query itself.

r? ``@compiler-errors``
2024-09-12 19:03:43 +02:00
..
error_reporting Also fix if in else 2024-09-11 17:24:01 -04:00
errors Reformat use declarations. 2024-07-29 08:26:52 +10:00
solve more eagerly discard constraints on overflow 2024-09-12 14:32:44 +02:00
traits Auto merge of #130269 - Zalathar:rollup-coxzt2t, r=Zalathar 2024-09-12 12:56:55 +00:00
errors.rs Emit specific message for time<0.3.35 inference failure 2024-08-28 22:53:02 +00:00
infer.rs Remove #[macro_use] extern crate tracing from rustc_trait_selection. 2024-08-30 17:14:59 +10:00
lib.rs Add warn(unreachable_pub) to rustc_trait_selection. 2024-09-03 08:49:54 +10:00
regions.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
solve.rs Rename a bunch of things 2024-06-21 12:32:05 -04:00