You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #126024 - oli-obk:candidate_key_caching_is_unsound_yay, r=<try>
Do not use global cache for selection candidates if opaque types can be constrained
fixes#105787
r? `@ghost`
This is certainly the crudest way to make the cache sound wrt opaque types, but if perf lets us get away with this, let's do it in the old solver and let the new solver fix this correctly once and for all.
If perf is prohibitively bad, I'll look into alternatives (using canonical queries, checking whether any opaque types got constrained or whether decisions based on the availability of opaque types were made, ..)
cc #122192 (comment)
0 commit comments