Revamp the fulfillment cache tracking to only cache trait-refs, which
was the major use-case, and to update the dep-graph. Other kinds of predicates are now excluded from the cache because there is no easy way to make a good dep-graph node for them, and because they are not believed to be that useful. :) Fixes #30741. (However, the test still gives wrong result for trans, for an independent reason which is fixed in the next commit.)
Showing
想要评论请 注册 或 登录