Getting rid of more unused items
This commit is contained in:
parent
d7e73be44c
commit
864e932e9f
@ -54,7 +54,6 @@ fn extract_attribute_list(name: &str, attrs: &Vec<Attribute>) -> Option<Vec<(Ide
|
|||||||
|
|
||||||
#[proc_macro_derive(ProgrammingLanguageInterface, attributes(LanguageName, SourceFileExtension, PipelineSteps))]
|
#[proc_macro_derive(ProgrammingLanguageInterface, attributes(LanguageName, SourceFileExtension, PipelineSteps))]
|
||||||
pub fn derive_programming_language_interface(input: TokenStream) -> TokenStream {
|
pub fn derive_programming_language_interface(input: TokenStream) -> TokenStream {
|
||||||
use schala_repl::PassDescriptor;
|
|
||||||
let ast: DeriveInput = syn::parse(input).unwrap();
|
let ast: DeriveInput = syn::parse(input).unwrap();
|
||||||
let name = &ast.ident;
|
let name = &ast.ident;
|
||||||
let attrs = &ast.attrs;
|
let attrs = &ast.attrs;
|
||||||
|
@ -961,7 +961,7 @@ mod parse_tests {
|
|||||||
use ::std::rc::Rc;
|
use ::std::rc::Rc;
|
||||||
use super::{parse, tokenize};
|
use super::{parse, tokenize};
|
||||||
use builtin::{PrefixOp, BinOp};
|
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::Statement::*;
|
||||||
use super::Declaration::*;
|
use super::Declaration::*;
|
||||||
use super::Signature;
|
use super::Signature;
|
||||||
|
@ -49,7 +49,6 @@ pub enum Kw {
|
|||||||
Is,
|
Is,
|
||||||
Func,
|
Func,
|
||||||
For, While,
|
For, While,
|
||||||
Match,
|
|
||||||
Const, Let, In,
|
Const, Let, In,
|
||||||
Mut,
|
Mut,
|
||||||
Return,
|
Return,
|
||||||
|
Loading…
Reference in New Issue
Block a user