diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-11-26 08:29:53 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-11-26 08:29:53 +0000 |
commit | cc1ef95d1962a0ca503b059c2275edde66d9b130 (patch) | |
tree | d05b34483333fd1abfe95679cd37a6a837c468ff /crates/ra_ide_api/src/db.rs | |
parent | 58a3b3b502580e9f49dcfc9b7223e8aec258adf6 (diff) | |
parent | 131c2da6bfd8ad6a25a55b4c85081da327ba2acb (diff) |
Merge #2407
2407: :arrow_up: salsa r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src/db.rs')
-rw-r--r-- | crates/ra_ide_api/src/db.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/db.rs b/crates/ra_ide_api/src/db.rs index c2a9dcdd1..f739ebecd 100644 --- a/crates/ra_ide_api/src/db.rs +++ b/crates/ra_ide_api/src/db.rs | |||
@@ -65,6 +65,9 @@ impl salsa::Database for RootDatabase { | |||
65 | fn salsa_runtime(&self) -> &salsa::Runtime<RootDatabase> { | 65 | fn salsa_runtime(&self) -> &salsa::Runtime<RootDatabase> { |
66 | &self.runtime | 66 | &self.runtime |
67 | } | 67 | } |
68 | fn salsa_runtime_mut(&mut self) -> &mut salsa::Runtime<Self> { | ||
69 | &mut self.runtime | ||
70 | } | ||
68 | fn on_propagated_panic(&self) -> ! { | 71 | fn on_propagated_panic(&self) -> ! { |
69 | Canceled::throw() | 72 | Canceled::throw() |
70 | } | 73 | } |