about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-02-02 13:57:36 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-04-08 12:02:19 +0000
commitc8388033f3e5dba47531be66d3b80b45eecee46a (patch)
tree6961e53938c6ff2e0db98f2fb3fdec018cfafdfa
parent89b48a2e22fe4b5f3289e349ae0af81c530f7630 (diff)
downloadrust-c8388033f3e5dba47531be66d3b80b45eecee46a.tar.gz
rust-c8388033f3e5dba47531be66d3b80b45eecee46a.zip
Actually create ranged int types in the type system.
-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 eb317c70926..f83fb1b9019 100644
--- a/clippy_lints/src/dereference.rs
+++ b/clippy_lints/src/dereference.rs
@@ -870,6 +870,7 @@ impl TyCoercionStability {
                 | ty::Int(_)
                 | ty::Uint(_)
                 | ty::Array(..)
+                | ty::Pat(..)
                 | ty::Float(_)
                 | ty::RawPtr(..)
                 | ty::FnPtr(_)