rust/compiler/rustc_mir_build/src
Matthias Krüger b101f3a865
Rollup merge of #103984 - V0ldek:103974-refactor-mk_const, r=BoxyUwU
Refactor tcx mk_const parameters.

Unroll the `ty::ConstS` parameter to `TyCtxt::mk_const` into separate `ty::ConstKind` and `Ty` parameters.

Signature change is in:

c97fd8183a/compiler/rustc_middle/src/ty/context.rs (L2234)

and

c97fd8183a/compiler/rustc_middle/src/ty/context.rs (L2572-L2575)

the rest is callsites.

Closes #103974

r? `@oli-obk`
2022-11-05 00:02:06 +01:00
..
build Rollup merge of #103984 - V0ldek:103974-refactor-mk_const, r=BoxyUwU 2022-11-05 00:02:06 +01:00
thir Rollup merge of #103749 - est31:reduce_irrefutable_let_else_span, r=cjgillot 2022-11-01 12:03:41 +09:00
check_unsafety.rs Accept TyCtxt instead of TyCtxtAt in Ty::is_* functions 2022-10-27 15:06:08 +04:00
lib.rs Skip chained OpaqueCast when building captures. 2022-10-09 16:18:16 +00:00
lints.rs Refactor rustc lint API 2022-10-01 10:03:06 +00:00