···5757 /// there is a conflict between them)
5858 pub fn unify(&mut self, a: TypeId, b: TypeId, structs: &StructIndex) -> Result<(), String> {
5959 use TypeInfo::*;
6060- match (self.vars[&a].clone(), self.vars[&b].clone()) {
6060+ match (self.vars[&a], self.vars[&b]) {
6161 // Follow any references
6262 (Ref(a), _) => self.unify(a, b, structs),
6363 (_, Ref(b)) => self.unify(a, b, structs),
+3-3
rotth/src/lib.rs
···3636}
37373838pub mod ast;
3939-pub mod emit;
4040-pub mod eval;
3939+// pub mod emit;
4040+// pub mod eval;
4141pub mod hir;
4242pub mod iconst;
4343pub mod inference;
4444pub mod lexer;
4545-pub mod lir;
4545+// pub mod lir;
4646pub mod resolver;
4747pub mod span;
4848pub mod tir;