about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2022-10-01 14:56:24 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2023-01-27 18:58:44 +0000
commitba6d3e7e9d0c2b2cad77d7da2f2d6b4158ab2ad0 (patch)
treecc4c9cb3e9583f359eca5ccc35088ba02ecd5eb0
parentafb586fa1f20a9e444cf861370bf0bc60fd49c78 (diff)
downloadrust-ba6d3e7e9d0c2b2cad77d7da2f2d6b4158ab2ad0.tar.gz
rust-ba6d3e7e9d0c2b2cad77d7da2f2d6b4158ab2ad0.zip
Introduce GeneratorWitnessMIR.
-rw-r--r--clippy_lints/src/dereference.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/dereference.rs b/clippy_lints/src/dereference.rs
index fa3e5aa6b72..8e921839e8b 100644
--- a/clippy_lints/src/dereference.rs
+++ b/clippy_lints/src/dereference.rs
@@ -1419,6 +1419,7 @@ fn ty_auto_deref_stability<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>, precedenc
             | ty::FnDef(..)
             | ty::Generator(..)
             | ty::GeneratorWitness(..)
+            | ty::GeneratorWitnessMIR(..)
             | ty::Closure(..)
             | ty::Never
             | ty::Tuple(_)