rust/compiler/rustc_middle
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
..
src Simplify calls to tcx.mk_const 2022-11-28 17:27:20 +00:00
Cargo.toml Make tcx.mk_const more permissive wrt kind argument 2022-11-28 17:27:20 +00:00
README.md

For more information about how rustc works, see the rustc dev guide.