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 8518391 commit 2bc479aCopy full SHA for 2bc479a
clippy_lints/src/dereference.rs
@@ -1424,6 +1424,7 @@ fn ty_auto_deref_stability<'tcx>(
1424
continue;
1425
},
1426
ty::Param(_) => TyPosition::new_deref_stable_for_result(precedence, ty),
1427
+ ty::Alias(ty::Inherent, _) => unreachable!("inherent projection should have been normalized away above"),
1428
ty::Alias(ty::Projection, _) if ty.has_non_region_param() => {
1429
TyPosition::new_deref_stable_for_result(precedence, ty)
1430
0 commit comments