mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-09 03:50:47 +00:00
Get rid of failure: ra_batch ra_cli
This commit is contained in:
parent
9709bd39ca
commit
f032eeb05f
7 changed files with 7 additions and 13 deletions
|
@ -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" }
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue