Skip to content

Commit 810502d

Browse files
committed
Auto merge of #111358 - compiler-errors:rollup-yv27vrp, r=compiler-errors
Rollup of 6 pull requests Successful merges: - #104070 (Prevent aborting guard from aborting the process in a forced unwind) - #109410 (Introduce `AliasKind::Inherent` for inherent associated types) - #111004 (Migrate `mir_transform` to translatable diagnostics) - #111118 (Suggest struct when we get colon in fileds in enum) - #111170 (Diagnostic args are still args if they're documented) - #111354 (Fix miscompilation when calling default methods on `Future`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
2 parents 2983848 + b79fd51 commit 810502d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_lints/src/dereference.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,6 +1424,7 @@ fn ty_auto_deref_stability<'tcx>(
14241424
continue;
14251425
},
14261426
ty::Param(_) => TyPosition::new_deref_stable_for_result(precedence, ty),
1427+
ty::Alias(ty::Inherent, _) => unreachable!("inherent projection should have been normalized away above"),
14271428
ty::Alias(ty::Projection, _) if ty.has_non_region_param() => {
14281429
TyPosition::new_deref_stable_for_result(precedence, ty)
14291430
},

0 commit comments

Comments
 (0)