Merge SimplifiedTypeGen<D> into SimplifiedType.

`SimplifiedTypeGen<DefId>` is the only instantiation used, so we don't
need the generic parameter.
This commit is contained in:
Nicholas Nethercote 2022-12-15 15:13:19 +11:00
parent 17a092f467
commit e723fc4f56

View File

@ -97,7 +97,7 @@
use rustc_middle::ty as rustc_ty;
use rustc_middle::ty::adjustment::{Adjust, Adjustment, AutoBorrow};
use rustc_middle::ty::binding::BindingMode;
use rustc_middle::ty::fast_reject::SimplifiedTypeGen::{
use rustc_middle::ty::fast_reject::SimplifiedType::{
ArraySimplifiedType, BoolSimplifiedType, CharSimplifiedType, FloatSimplifiedType, IntSimplifiedType,
PtrSimplifiedType, SliceSimplifiedType, StrSimplifiedType, UintSimplifiedType,
};