Kill unused import
This commit is contained in:
parent
b058e47d79
commit
9bfd751db6
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user