mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +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
|
@ -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