about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-12-15 15:13:19 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2022-12-15 15:13:19 +1100
commite723fc4f564efa916beeaa59de3c55ccd9006a64 (patch)
treee4bb18806580e79cbefe9aeaa9354dd7634b40b0
parent17a092f467fb75fa04eeca7e82a0672e1222024b (diff)
downloadrust-e723fc4f564efa916beeaa59de3c55ccd9006a64.tar.gz
rust-e723fc4f564efa916beeaa59de3c55ccd9006a64.zip
Merge `SimplifiedTypeGen<D>` into `SimplifiedType`.
`SimplifiedTypeGen<DefId>` is the only instantiation used, so we don't
need the generic parameter.
-rw-r--r--clippy_utils/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_utils/src/lib.rs b/clippy_utils/src/lib.rs
index 90192f46cbf..652f8b4d3c5 100644
--- a/clippy_utils/src/lib.rs
+++ b/clippy_utils/src/lib.rs
@@ -97,7 +97,7 @@ use rustc_middle::hir::place::PlaceBase;
 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,
 };