rustfmt on error.rs, lib.rs

This commit is contained in:
Greg Shuflin 2021-10-14 16:54:05 -07:00
parent eeb4e743d2
commit ed6360247d
2 changed files with 9 additions and 8 deletions

View File

@ -1,6 +1,6 @@
use crate::parsing::ParseError; use crate::parsing::ParseError;
use crate::schala::{SourceReference, Stage}; use crate::schala::{SourceReference, Stage};
use crate::tokenizing::{Token, TokenKind, Location}; use crate::tokenizing::{Location, Token, TokenKind};
use crate::typechecking::TypeError; use crate::typechecking::TypeError;
pub struct SchalaError { pub struct SchalaError {

View File

@ -11,9 +11,10 @@ extern crate schala_repl;
extern crate schala_lang_codegen; extern crate schala_lang_codegen;
extern crate derivative; extern crate derivative;
macro_rules! bx { macro_rules! bx {
($e:expr) => { Box::new($e) } ($e:expr) => {
Box::new($e)
};
} }
#[macro_use] #[macro_use]
@ -21,16 +22,16 @@ mod util;
#[macro_use] #[macro_use]
mod typechecking; mod typechecking;
mod tokenizing;
mod ast; mod ast;
mod parsing; mod parsing;
mod tokenizing;
#[macro_use] #[macro_use]
mod symbol_table; mod symbol_table;
mod scope_resolution;
mod builtin; mod builtin;
mod reduced_ast;
mod eval;
mod error; mod error;
mod eval;
mod reduced_ast;
mod scope_resolution;
mod schala; mod schala;