mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-30 21:01:10 +00:00
Delete unnecessary deps
This commit is contained in:
parent
d45919028d
commit
974bfc0b86
11 changed files with 15 additions and 702 deletions
|
@ -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) {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue