Nicholas Nethercote
39b6dbec06
Fix ordering for default impl check in the new solver
...
The second commit of #160605 moved the `default impl` check later, for
better performance, which introduced a regression. This commit moves the
check a little earlier, so it is after the `args_may_unify` call (thus
retaining the perf benefit) but before the `probe_trait_candidate`
(which has side-effects).
The check is now duplicated in three `GoalKind::consider_impl_candidate`
methods, which is unfortunate, but it fits in with the existing
duplicated code in those methods. And it means another copy of the
check (in `try_assemble_bounds_via_registered_opaques`) can be removed.
Fixes #160994 .
2026-08-18 11:17:46 +10:00
..
2026-06-11 06:31:12 +05:30
2026-03-24 20:00:26 +00:00
2026-08-18 11:17:46 +10:00
2026-06-14 11:44:15 +02:00
2026-08-10 19:01:58 +02:00
2026-03-24 20:00:26 +00:00
2026-08-04 18:44:28 +00:00
2026-03-24 20:00:26 +00:00
2026-08-04 18:44:28 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-08-04 18:44:28 +00:00
2026-08-04 18:44:28 +00:00
2026-08-04 18:44:28 +00:00
2026-08-04 18:44:28 +00:00
2026-08-04 18:44:28 +00:00
2026-08-04 18:44:28 +00:00
2026-08-04 18:44:28 +00:00
2026-08-04 18:44:28 +00:00
2026-08-04 18:44:28 +00:00
2026-08-04 18:44:28 +00:00
2026-08-04 18:44:28 +00:00
2026-04-01 17:01:59 +02:00
2026-04-01 17:01:59 +02:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-06-04 16:10:12 +00:00
2026-03-24 20:00:26 +00:00
2026-06-04 16:10:12 +00:00
2026-06-14 11:44:15 +02:00
2026-06-14 11:44:15 +02:00
2026-06-14 11:44:15 +02:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-04-09 01:08:52 +02:00
2026-04-09 01:08:52 +02:00
2026-04-01 17:01:59 +02:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-08-04 18:44:28 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-06-25 17:12:11 +08:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-06-25 17:12:11 +08:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00
2026-08-04 18:44:28 +00:00
2026-08-04 18:44:28 +00:00
2026-03-24 20:00:26 +00:00
2026-03-24 20:00:26 +00:00