about summary refs log tree commit diff
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2024-12-14 23:20:48 -0800
committerScott McMurray <scottmcm@users.noreply.github.com>2024-12-22 06:12:45 -0800
commitc772140a1fc8cbb6a87db332ce021db7f42857bf (patch)
treeab7e4e1df398fcb7b1e2e17a6af0c8edc4d2e0af
parent54a396a9bd9ef6e13903abe33b507fc56bb3f689 (diff)
downloadrust-c772140a1fc8cbb6a87db332ce021db7f42857bf.tar.gz
rust-c772140a1fc8cbb6a87db332ce021db7f42857bf.zip
Update clippy
-rw-r--r--clippy_utils/src/qualify_min_const_fn.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_utils/src/qualify_min_const_fn.rs b/clippy_utils/src/qualify_min_const_fn.rs
index 104ae154e36..428b40c5771 100644
--- a/clippy_utils/src/qualify_min_const_fn.rs
+++ b/clippy_utils/src/qualify_min_const_fn.rs
@@ -109,7 +109,7 @@ fn check_rvalue<'tcx>(
 ) -> McfResult {
     match rvalue {
         Rvalue::ThreadLocalRef(_) => Err((span, "cannot access thread local storage in const fn".into())),
-        Rvalue::Len(place) | Rvalue::Discriminant(place) | Rvalue::Ref(_, _, place) | Rvalue::RawPtr(_, place) => {
+        Rvalue::Discriminant(place) | Rvalue::Ref(_, _, place) | Rvalue::RawPtr(_, place) => {
             check_place(tcx, *place, span, body, msrv)
         },
         Rvalue::CopyForDeref(place) => check_place(tcx, *place, span, body, msrv),