mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-02 00:07:42 +03:00
56c0bea390
Cleanup BodyCache After this PR: - `BodyCache` is renamed to `BodyAndCache` - `ReadOnlyBodyCache` is renamed to `ReadOnlyBodyAndCache` - `ReadOnlyBodyAndCache::body` fn is removed and all calls to it are replaced by a deref (possible due to fix of its `Deref` imp in #65947) cc @eddyb @oli-obk
Please read the rustc-guide chapter on Backend Agnostic Codegen.