Getting rid of more unused items

This commit is contained in:
greg 2018-08-14 23:09:11 -07:00
parent d7e73be44c
commit 864e932e9f
3 changed files with 1 additions and 3 deletions

View File

@ -54,7 +54,6 @@ fn extract_attribute_list(name: &str, attrs: &Vec<Attribute>) -> Option<Vec<(Ide
#[proc_macro_derive(ProgrammingLanguageInterface, attributes(LanguageName, SourceFileExtension, PipelineSteps))]
pub fn derive_programming_language_interface(input: TokenStream) -> TokenStream {
use schala_repl::PassDescriptor;
let ast: DeriveInput = syn::parse(input).unwrap();
let name = &ast.ident;
let attrs = &ast.attrs;

View File

@ -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;

View File

@ -49,7 +49,6 @@ pub enum Kw {
Is,
Func,
For, While,
Match,
Const, Let, In,
Mut,
Return,