Skip to content

Commit

Permalink
WIP working through cargo errors
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljklein committed Jan 23, 2024
1 parent 9510292 commit ffb8301
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/noirc_frontend/src/hir_def/types.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::{
borrow::Cow,
borrow::{Borrow, Cow},
cell::RefCell,
collections::{BTreeSet, HashMap},
rc::Rc,
Expand Down Expand Up @@ -972,7 +972,7 @@ impl Type {
TypeBinding::Unbound(id) => {

// we want to bind var to self_var (the less specific to the more specififc)

Check warning on line 974 in compiler/noirc_frontend/src/hir_def/types.rs

View workflow job for this annotation

GitHub Actions / Code

Unknown word (specififc)
bindings.insert(id, (var.clone(), _));
bindings.insert(*id, (var.clone(), ()));
Ok(())
}
}
Expand Down

0 comments on commit ffb8301

Please sign in to comment.