We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e5c819 commit 6059d59Copy full SHA for 6059d59
clippy_utils/src/sugg.rs
@@ -941,6 +941,8 @@ impl<'tcx> Delegate<'tcx> for DerefDelegate<'_, 'tcx> {
941
ProjectionKind::Subslice |
942
// Doesn't have surface syntax. Only occurs in patterns.
943
ProjectionKind::OpaqueCast => (),
944
+ // Only occurs in closure captures.
945
+ ProjectionKind::UnwrapUnsafeBinder => (),
946
ProjectionKind::Deref => {
947
// Explicit derefs are typically handled later on, but
948
// some items do not need explicit deref, such as array accesses,
0 commit comments