From ffb8301a4cd6e3708714acb3ac9c6414aa132f76 Mon Sep 17 00:00:00 2001 From: "Michael J. Klein" Date: Tue, 23 Jan 2024 14:20:36 -0500 Subject: [PATCH] WIP working through cargo errors --- compiler/noirc_frontend/src/hir_def/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/noirc_frontend/src/hir_def/types.rs b/compiler/noirc_frontend/src/hir_def/types.rs index b91b5120fab..0da2f916e2d 100644 --- a/compiler/noirc_frontend/src/hir_def/types.rs +++ b/compiler/noirc_frontend/src/hir_def/types.rs @@ -1,5 +1,5 @@ use std::{ - borrow::Cow, + borrow::{Borrow, Cow}, cell::RefCell, collections::{BTreeSet, HashMap}, rc::Rc, @@ -972,7 +972,7 @@ impl Type { TypeBinding::Unbound(id) => { // we want to bind var to self_var (the less specific to the more specififc) - bindings.insert(id, (var.clone(), _)); + bindings.insert(*id, (var.clone(), ())); Ok(()) } }