Delete unnecessary deps

This commit is contained in:
Shunsuke Shibayama 2022-08-17 22:52:17 +09:00
parent d45919028d
commit 974bfc0b86
11 changed files with 15 additions and 702 deletions

View file

@ -7,7 +7,7 @@ use std::mem;
use erg_common::color::{GREEN, RED, RESET};
use erg_common::config::ErgConfig;
use erg_common::config::{Input, BUILD_INFO, SEMVER};
use erg_common::config::{Input};
use erg_common::error::Location;
use erg_common::set::Set;
use erg_common::traits::Runnable;
@ -272,6 +272,7 @@ pub struct ParserRunner {
impl Runnable for ParserRunner {
type Err = ParserRunnerError;
type Errs = ParserRunnerErrors;
const NAME: &'static str = "Erg parser";
#[inline]
fn new(cfg: ErgConfig) -> Self {
@ -283,11 +284,6 @@ impl Runnable for ParserRunner {
&self.cfg.input
}
#[inline]
fn start_message(&self) -> String {
format!("Erg parser {} {}\n", SEMVER, &*BUILD_INFO)
}
#[inline]
fn finish(&mut self) {}