aboutsummaryrefslogtreecommitdiff
path: root/crates/cli
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-25 09:47:24 +0100
committerAleksey Kladov <[email protected]>2018-08-25 09:47:24 +0100
commit70333c8edfd9fd958ceb5669b578a33a289473fe (patch)
tree8722c1f5db217be94449ed13103e4bf5ca82d5d6 /crates/cli
parent220d285b4afb250e59a08e9b1ad38c2fc2275782 (diff)
remove reesports
Diffstat (limited to 'crates/cli')
-rw-r--r--crates/cli/Cargo.toml1
-rw-r--r--crates/cli/src/main.rs4
2 files changed, 4 insertions, 1 deletions
diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml
index ac89a48d3..7dbbe3f4e 100644
--- a/crates/cli/Cargo.toml
+++ b/crates/cli/Cargo.toml
@@ -7,5 +7,6 @@ publish = false
7[dependencies] 7[dependencies]
8clap = "2.32.0" 8clap = "2.32.0"
9failure = "0.1.1" 9failure = "0.1.1"
10libsyntax2 = { path = "../libsyntax2" }
10libeditor = { path = "../libeditor" } 11libeditor = { path = "../libeditor" }
11tools = { path = "../tools" } 12tools = { path = "../tools" }
diff --git a/crates/cli/src/main.rs b/crates/cli/src/main.rs
index fc28691fc..bcb0c9b98 100644
--- a/crates/cli/src/main.rs
+++ b/crates/cli/src/main.rs
@@ -1,6 +1,7 @@
1extern crate clap; 1extern crate clap;
2#[macro_use] 2#[macro_use]
3extern crate failure; 3extern crate failure;
4extern crate libsyntax2;
4extern crate libeditor; 5extern crate libeditor;
5extern crate tools; 6extern crate tools;
6 7
@@ -10,7 +11,8 @@ use std::{
10}; 11};
11use clap::{App, Arg, SubCommand}; 12use clap::{App, Arg, SubCommand};
12use tools::collect_tests; 13use tools::collect_tests;
13use libeditor::{File, syntax_tree, file_structure}; 14use libsyntax2::File;
15use libeditor::{syntax_tree, file_structure};
14 16
15type Result<T> = ::std::result::Result<T, failure::Error>; 17type Result<T> = ::std::result::Result<T, failure::Error>;
16 18