mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
implement durability
This commit is contained in:
parent
9266c18ce6
commit
343463c824
10 changed files with 128 additions and 47 deletions
|
@ -281,6 +281,9 @@ impl AnalysisHost {
|
|||
pub fn raw_database(&self) -> &(impl hir::db::HirDatabase + salsa::Database) {
|
||||
&self.db
|
||||
}
|
||||
pub fn raw_database_mut(&mut self) -> &mut (impl hir::db::HirDatabase + salsa::Database) {
|
||||
&mut self.db
|
||||
}
|
||||
}
|
||||
|
||||
/// Analysis is a snapshot of a world state at a moment in time. It is the main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue