Skip to content

Commit 29889fd

Browse files
committed
Update clippy
1 parent 5ba54c9 commit 29889fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/tools/clippy/clippy_utils/src/qualify_min_const_fn.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ fn check_rvalue<'tcx>(
109109
) -> McfResult {
110110
match rvalue {
111111
Rvalue::ThreadLocalRef(_) => Err((span, "cannot access thread local storage in const fn".into())),
112-
Rvalue::Len(place) | Rvalue::Discriminant(place) | Rvalue::Ref(_, _, place) | Rvalue::RawPtr(_, place) => {
112+
Rvalue::Discriminant(place) | Rvalue::Ref(_, _, place) | Rvalue::RawPtr(_, place) => {
113113
check_place(tcx, *place, span, body, msrv)
114114
},
115115
Rvalue::CopyForDeref(place) => check_place(tcx, *place, span, body, msrv),

0 commit comments

Comments
 (0)