From 864e932e9f9a6380ef0066242b1746ee3f46fad0 Mon Sep 17 00:00:00 2001 From: greg Date: Tue, 14 Aug 2018 23:09:11 -0700 Subject: [PATCH] Getting rid of more unused items --- schala-codegen/src/lib.rs | 1 - schala-lang/src/parsing.rs | 2 +- schala-lang/src/tokenizing.rs | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/schala-codegen/src/lib.rs b/schala-codegen/src/lib.rs index 8228161..8ab48a0 100644 --- a/schala-codegen/src/lib.rs +++ b/schala-codegen/src/lib.rs @@ -54,7 +54,6 @@ fn extract_attribute_list(name: &str, attrs: &Vec) -> Option TokenStream { - use schala_repl::PassDescriptor; let ast: DeriveInput = syn::parse(input).unwrap(); let name = &ast.ident; let attrs = &ast.attrs; diff --git a/schala-lang/src/parsing.rs b/schala-lang/src/parsing.rs index db3d72d..5355917 100644 --- a/schala-lang/src/parsing.rs +++ b/schala-lang/src/parsing.rs @@ -961,7 +961,7 @@ mod parse_tests { use ::std::rc::Rc; use super::{parse, tokenize}; use builtin::{PrefixOp, BinOp}; - use ast::{AST, Expression, Statement, IfExpressionBody, Discriminator, Pattern, PatternLiteral, TypeBody, Variant, Enumerator, ForBody}; + use ast::{AST, Expression, Statement, IfExpressionBody, Discriminator, Pattern, PatternLiteral, TypeBody, Enumerator, ForBody}; use super::Statement::*; use super::Declaration::*; use super::Signature; diff --git a/schala-lang/src/tokenizing.rs b/schala-lang/src/tokenizing.rs index 79badbe..4f26048 100644 --- a/schala-lang/src/tokenizing.rs +++ b/schala-lang/src/tokenizing.rs @@ -49,7 +49,6 @@ pub enum Kw { Is, Func, For, While, - Match, Const, Let, In, Mut, Return,