diff options
| author | Michael Goulet <michael@errs.io> | 2022-10-09 07:09:57 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-10-09 07:09:57 +0000 |
| commit | 70f3c79c50669f99c3f14cbbba2ce03a196cd1d1 (patch) | |
| tree | 397c47ee5cfc6506e5a75c05fbdaea1e4bea2cf9 /compiler/rustc_infer/src/infer | |
| parent | 28eda9b18ac3c492b6934283b39953aab337351f (diff) | |
| download | rust-70f3c79c50669f99c3f14cbbba2ce03a196cd1d1.tar.gz rust-70f3c79c50669f99c3f14cbbba2ce03a196cd1d1.zip | |
ImplItemKind::TyAlias => ImplItemKind::Type
Diffstat (limited to 'compiler/rustc_infer/src/infer')
| -rw-r--r-- | compiler/rustc_infer/src/infer/error_reporting/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/infer/error_reporting/mod.rs b/compiler/rustc_infer/src/infer/error_reporting/mod.rs index 9d56764d489..edbbf5ec39e 100644 --- a/compiler/rustc_infer/src/infer/error_reporting/mod.rs +++ b/compiler/rustc_infer/src/infer/error_reporting/mod.rs @@ -2570,7 +2570,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> { for h in self.tcx.hir().parent_iter(param.hir_id) { break 'origin match h.1 { Node::ImplItem(hir::ImplItem { - kind: hir::ImplItemKind::TyAlias(..), + kind: hir::ImplItemKind::Type(..), generics, .. }) |
