aboutsummaryrefslogtreecommitdiff
path: root/crates/tools/src/main.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-12-06 18:17:09 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-12-06 18:17:09 +0000
commit8e60e751cbcfa47c7bed788dfe2ab5cebfcb78b3 (patch)
tree58f01a945f7c27d6baaecf38e84617ca46782073 /crates/tools/src/main.rs
parent5ad84f0ca5fe9bb250cd4026e5dcb5478d932666 (diff)
parent28ddecf6c99ef23bc96b9eb7bc8ee049f1732e76 (diff)
Merge #260
260: Modernize r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/tools/src/main.rs')
-rw-r--r--crates/tools/src/main.rs12
1 files changed, 4 insertions, 8 deletions
diff --git a/crates/tools/src/main.rs b/crates/tools/src/main.rs
index dc623a464..7bd4a2d09 100644
--- a/crates/tools/src/main.rs
+++ b/crates/tools/src/main.rs
@@ -1,16 +1,12 @@
1extern crate clap;
2extern crate failure;
3extern crate teraron;
4extern crate tools;
5extern crate walkdir;
6
7use clap::{App, Arg, SubCommand};
8use failure::bail;
9use std::{ 1use std::{
10 collections::HashMap, 2 collections::HashMap,
11 fs, 3 fs,
12 path::{Path, PathBuf}, 4 path::{Path, PathBuf},
13}; 5};
6
7use clap::{App, Arg, SubCommand};
8use failure::bail;
9
14use tools::{collect_tests, generate, run, run_rustfmt, Mode, Overwrite, Result, Test, Verify}; 10use tools::{collect_tests, generate, run, run_rustfmt, Mode, Overwrite, Result, Test, Verify};
15 11
16const GRAMMAR_DIR: &str = "./crates/ra_syntax/src/grammar"; 12const GRAMMAR_DIR: &str = "./crates/ra_syntax/src/grammar";