Fix warnings
This commit is contained in:
parent
557d5f9722
commit
51c341450b
@ -2,7 +2,7 @@ use std::{cell::RefCell, collections::HashMap, rc::Rc};
|
||||
|
||||
use super::{
|
||||
typecheck::{Collapsable, ErrorKind},
|
||||
BinaryOperator, Literal, TypeKind, VagueLiteral, VagueType,
|
||||
BinaryOperator, Literal, TypeKind, VagueType,
|
||||
};
|
||||
|
||||
#[derive(Clone)]
|
||||
|
@ -1,16 +1,13 @@
|
||||
//! This module contains code relevant to doing a type checking pass on the MIR.
|
||||
//! During typechecking relevant types are also coerced if possible.
|
||||
use std::{
|
||||
cell::RefCell, collections::HashMap, convert::Infallible, iter, marker::PhantomData,
|
||||
thread::scope,
|
||||
};
|
||||
use std::{convert::Infallible, iter};
|
||||
|
||||
use crate::{mir::*, util::try_all};
|
||||
use TypeKind::*;
|
||||
use VagueType::*;
|
||||
|
||||
use super::{
|
||||
pass::{Pass, PassState, ScopeFunction, ScopeVariable, Storage},
|
||||
pass::{Pass, PassState, ScopeFunction, ScopeVariable},
|
||||
scopehints::{ScopeHints, TypeHints, TypeRef},
|
||||
types::{pick_return, ReturnType},
|
||||
};
|
||||
|
@ -1,5 +1,3 @@
|
||||
use crate::mir::typecheck::Collapsable;
|
||||
|
||||
use super::*;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
|
Loading…
Reference in New Issue
Block a user