mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
make HirDatabase object-safe
This commit is contained in:
parent
395965351d
commit
dbf9820e35
5 changed files with 26 additions and 16 deletions
|
@ -60,8 +60,6 @@ impl salsa::ParallelDatabase for RootDatabase {
|
|||
}
|
||||
}
|
||||
|
||||
impl CheckCanceled for RootDatabase {}
|
||||
|
||||
impl AsRef<hir::HirInterner> for RootDatabase {
|
||||
fn as_ref(&self) -> &hir::HirInterner {
|
||||
&self.interner
|
||||
|
|
|
@ -9,6 +9,10 @@
|
|||
//!
|
||||
//! The sibling `ra_ide_api_light` handles thouse bits of IDE functionality
|
||||
//! which are restricted to a single file and need only syntax.
|
||||
|
||||
// For proving that RootDatabase is RefUnwindSafe.
|
||||
#![recursion_limit = "128"]
|
||||
|
||||
mod db;
|
||||
mod imp;
|
||||
pub mod mock_analysis;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue