rust/compiler/rustc_mir_build/src
Maybe Waffle 26b87bf8ff Simplify calls to tcx.mk_const
`mk_const(ty::ConstKind::X(...), ty)` can now be simplified to
`mk_cosnt(...,                   ty)`.

I searched with the following regex: \mk_const\([\n\s]*(ty::)?ConstKind\
I've left `ty::ConstKind::{Bound, Error}` as-is, they seem clearer this
way.
2022-11-28 17:27:20 +00:00
..
build Simplify calls to tcx.mk_const 2022-11-28 17:27:20 +00:00
thir Rollup merge of #103908 - estebank:consider-cloning, r=compiler-errors 2022-11-24 08:42:33 +01:00
check_unsafety.rs Accept TyCtxt instead of TyCtxtAt in Ty::is_* functions 2022-10-27 15:06:08 +04:00
lib.rs Some cleanup around trait_method lookup 2022-11-21 20:34:56 +00:00
lints.rs Refactor rustc lint API 2022-10-01 10:03:06 +00:00