rust/compiler/rustc_trait_selection/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
..
traits Simplify calls to tcx.mk_const 2022-11-28 17:27:20 +00:00
autoderef.rs Simplify a bunch of trait ref obligation creations 2022-11-25 00:04:54 -03:00
errors.rs Don't print full paths in overlap errors 2022-11-10 05:41:09 +00:00
infer.rs Stop passing the self-type as a separate argument. 2022-11-21 20:39:46 +00:00
lib.rs Use iterators instead of slices at more sites 2022-11-21 20:34:28 +00:00