mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 02:45:35 +00:00
generic_const_exprs: use thir for abstract consts instead of mir Changes `AbstractConst` building to use `thir` instead of `mir` so that there's less chance of consts unifying when they shouldn't because lowering to mir dropped information (see `abstract-consts-as-cast-5.rs` test) r? `@lcnr`
For more information about how the query system works, see the rustc dev guide.