diff options
| author | Santiago Pastorino <spastorino@gmail.com> | 2021-06-08 16:45:44 -0300 |
|---|---|---|
| committer | Santiago Pastorino <spastorino@gmail.com> | 2021-06-08 16:45:44 -0300 |
| commit | ecd78e985e7049d011e4de5e4fe04f5c9fe5af31 (patch) | |
| tree | b3002c6d03f3eeb20869cadaa997e13594ef5fc4 | |
| parent | f07412db4122023b76a02a5ddc31b17e49ed6cac (diff) | |
| download | rust-ecd78e985e7049d011e4de5e4fe04f5c9fe5af31.tar.gz rust-ecd78e985e7049d011e4de5e4fe04f5c9fe5af31.zip | |
defin_ty_def_id -> definition_ty_def_id
| -rw-r--r-- | compiler/rustc_typeck/src/check/writeback.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_typeck/src/check/writeback.rs b/compiler/rustc_typeck/src/check/writeback.rs index 8754c8cd136..3984537a056 100644 --- a/compiler/rustc_typeck/src/check/writeback.rs +++ b/compiler/rustc_typeck/src/check/writeback.rs @@ -503,13 +503,13 @@ impl<'cx, 'tcx> WritebackCx<'cx, 'tcx> { let mut skip_add = false; - if let ty::Opaque(defin_ty_def_id, _substs) = *definition_ty.kind() { + if let ty::Opaque(definition_ty_def_id, _substs) = *definition_ty.kind() { if let hir::OpaqueTyOrigin::Misc | hir::OpaqueTyOrigin::TyAlias = opaque_defn.origin { - if def_id == defin_ty_def_id { + if def_id == definition_ty_def_id { debug!( "skipping adding concrete definition for opaque type {:?} {:?}", - opaque_defn, defin_ty_def_id + opaque_defn, def_id ); skip_add = true; } |
