mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-02 12:59:12 +00:00
Make HirFileId, EditionedFileId and macro files Salsa struct
And make more queries non-interned. Also flip the default for queries, now the default is to not intern and to intern a query you need to say `invoke_interned`.
This commit is contained in:
parent
02ade79631
commit
c58ddafe90
195 changed files with 1473 additions and 1525 deletions
|
|
@ -45,8 +45,6 @@ fn intern_with_query() {
|
|||
db.assert_logs(expect![[r#"
|
||||
[
|
||||
"salsa_event(WillCheckCancellation)",
|
||||
"salsa_event(WillExecute { database_key: create_data_InternedDB(Id(400)) })",
|
||||
"salsa_event(WillCheckCancellation)",
|
||||
"salsa_event(WillExecute { database_key: interned_len_shim(Id(c00)) })",
|
||||
"salsa_event(WillExecute { database_key: interned_len_shim(Id(0)) })",
|
||||
]"#]]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue