mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-29 00:46:32 +00:00
35c8f2612f
Disable the evaluation cache when in intercrate mode It's possible to use the same `InferCtxt` with both an intercrate and non-intercrate `SelectionContext`. However, the local (inferctxt) evaluation cache is not aware of this distinction, so this kind of `InferCtxt` re-use will pollute the cache wth bad results. This commit avoids the issue by disabling the evaluation cache entirely during intercrate mode. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |