Skip to content

Commit 27910cb

Browse files
committed
Introduce a no-op PlaceMention statement for let _ =.
1 parent eceedd9 commit 27910cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_utils/src/qualify_min_const_fn.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ fn check_statement<'tcx>(
241241
| StatementKind::StorageDead(_)
242242
| StatementKind::Retag { .. }
243243
| StatementKind::AscribeUserType(..)
244+
| StatementKind::PlaceMention(..)
244245
| StatementKind::Coverage(..)
245246
| StatementKind::ConstEvalCounter
246247
| StatementKind::Nop => Ok(()),

0 commit comments

Comments
 (0)