Kill unused import

This commit is contained in:
greg 2018-03-03 11:32:38 -08:00
parent 0423017125
commit a300f78e19

View File

@ -96,7 +96,7 @@ impl TypeContext {
pub fn add_top_level_types(&mut self, ast: &parsing::AST) -> TypeResult<()> { pub fn add_top_level_types(&mut self, ast: &parsing::AST) -> TypeResult<()> {
use self::parsing::TypeName; use self::parsing::TypeName;
use self::parsing::Declaration::*; use self::parsing::Declaration::*;
use self::Type::*; use self::TConst::*; use self::Type::*;
for statement in ast.0.iter() { for statement in ast.0.iter() {
if let &self::parsing::Statement::Declaration(ref decl) = statement { if let &self::parsing::Statement::Declaration(ref decl) = statement {
match decl { match decl {