diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2023-03-21 01:46:52 +0100 |
|---|---|---|
| committer | León Orell Valerian Liehr <me@fmease.dev> | 2023-05-04 16:59:10 +0200 |
| commit | e8139dfd5a747842a8303f33d8c842378913d594 (patch) | |
| tree | 977f9a1bd7bc5c0e8efc36b3a23c911c64189cc3 /compiler/rustc_infer/src/infer/combine.rs | |
| parent | 6f8c0557e0b73c73a8a7163a15f4a5a3feca7d5c (diff) | |
| download | rust-e8139dfd5a747842a8303f33d8c842378913d594.tar.gz rust-e8139dfd5a747842a8303f33d8c842378913d594.zip | |
IAT: Introduce AliasKind::Inherent
Diffstat (limited to 'compiler/rustc_infer/src/infer/combine.rs')
| -rw-r--r-- | compiler/rustc_infer/src/infer/combine.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/infer/combine.rs b/compiler/rustc_infer/src/infer/combine.rs index c9e13be02ff..44c8b08196e 100644 --- a/compiler/rustc_infer/src/infer/combine.rs +++ b/compiler/rustc_infer/src/infer/combine.rs @@ -125,7 +125,8 @@ impl<'tcx> InferCtxt<'tcx> { bug!() } - (_, ty::Alias(AliasKind::Projection, _)) | (ty::Alias(AliasKind::Projection, _), _) + (_, ty::Alias(AliasKind::Projection | AliasKind::Inherent, _)) + | (ty::Alias(AliasKind::Projection | AliasKind::Inherent, _), _) if self.tcx.trait_solver_next() => { relation.register_type_relate_obligation(a, b); |
