mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 03:07:24 +03:00
41fe75ec6b
Cache flags for `ty::Const` Not sure if this has been attempted yet, but worth a shot. It does make the code simpler in `rustc_type_ir`, since we can assume that consts have a `flags` method that is no-cost. r? `@ghost`