Get rid of failure: ra_batch ra_cli

This commit is contained in:
Muhammad Mominul Huque 2019-06-15 13:24:02 +06:00
parent 9709bd39ca
commit f032eeb05f
No known key found for this signature in database
GPG key ID: 37AF141540DE557D
7 changed files with 7 additions and 13 deletions

View file

@ -8,8 +8,6 @@ authors = ["rust-analyzer developers"]
log = "0.4.5"
rustc-hash = "1.0"
failure = "0.1.4"
ra_vfs = "0.2.0"
ra_syntax = { path = "../ra_syntax" }
ra_db = { path = "../ra_db" }

View file

@ -1,8 +1,7 @@
mod vfs_filter;
use std::sync::Arc;
use std::path::Path;
use std::collections::HashSet;
use std::{sync::Arc, path::Path, collections::HashSet, error::Error};
use rustc_hash::FxHashMap;
@ -14,7 +13,7 @@ use ra_project_model::ProjectWorkspace;
use ra_vfs::{Vfs, VfsChange};
use vfs_filter::IncludeRustFiles;
type Result<T> = std::result::Result<T, failure::Error>;
type Result<T> = std::result::Result<T, Box<dyn Error + Send + Sync>>;
#[salsa::database(
ra_db::SourceDatabaseStorage,