From f032eeb05f0b7d77e30cd6c5eea016cc5d649e3f Mon Sep 17 00:00:00 2001 From: Muhammad Mominul Huque Date: Sat, 15 Jun 2019 13:24:02 +0600 Subject: Get rid of failure: ra_batch ra_cli --- crates/ra_cli/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_cli/src') diff --git a/crates/ra_cli/src/main.rs b/crates/ra_cli/src/main.rs index c9ca13bbc..04370539a 100644 --- a/crates/ra_cli/src/main.rs +++ b/crates/ra_cli/src/main.rs @@ -1,6 +1,6 @@ mod analysis_stats; -use std::io::Read; +use std::{io::Read, error::Error}; use clap::{App, Arg, SubCommand}; use ra_ide_api::{file_structure, Analysis}; @@ -8,7 +8,7 @@ use ra_syntax::{SourceFile, TreeArc, AstNode}; use flexi_logger::Logger; use ra_prof::profile; -type Result = ::std::result::Result; +type Result = ::std::result::Result>; fn main() -> Result<()> { Logger::with_env().start()?; -- cgit v1.2.3 From 408e173bb9737f9484ca773ee57cc791f5c57e16 Mon Sep 17 00:00:00 2001 From: Muhammad Mominul Huque Date: Sat, 15 Jun 2019 14:04:26 +0600 Subject: Cleanup --- crates/ra_cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_cli/src') diff --git a/crates/ra_cli/src/main.rs b/crates/ra_cli/src/main.rs index 04370539a..1db98aec1 100644 --- a/crates/ra_cli/src/main.rs +++ b/crates/ra_cli/src/main.rs @@ -8,7 +8,7 @@ use ra_syntax::{SourceFile, TreeArc, AstNode}; use flexi_logger::Logger; use ra_prof::profile; -type Result = ::std::result::Result>; +type Result = std::result::Result>; fn main() -> Result<()> { Logger::with_env().start()?; -- cgit v1.2.3