mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 23:25:03 +00:00
don't use volatile queries
"volatile" means "changes every time". That is, all transitive rev-deps of volatile queries will be executed every time. We actually need "dependencies".
This commit is contained in:
parent
0bc6f5802f
commit
6bb06addf8
2 changed files with 4 additions and 4 deletions
|
@ -149,7 +149,7 @@ salsa::query_group! {
|
|||
fn resolve_syntax_ptr(ptr: SyntaxPtr) -> SyntaxNode {
|
||||
type ResolveSyntaxPtrQuery;
|
||||
// Don't retain syntax trees in memory
|
||||
storage volatile;
|
||||
storage dependencies;
|
||||
use fn crate::syntax_ptr::resolve_syntax_ptr;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue