Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-def/src/expr_store/tests/body/block.rs')
-rw-r--r--crates/hir-def/src/expr_store/tests/body/block.rs52
1 files changed, 49 insertions, 3 deletions
diff --git a/crates/hir-def/src/expr_store/tests/body/block.rs b/crates/hir-def/src/expr_store/tests/body/block.rs
index 836a079e77..2d60f44092 100644
--- a/crates/hir-def/src/expr_store/tests/body/block.rs
+++ b/crates/hir-def/src/expr_store/tests/body/block.rs
@@ -195,9 +195,55 @@ fn f() {
Id(1c00),
),
block: Some(
- BlockId(
- 3c01,
- ),
+ BlockIdLt {
+ [salsa id]: Id(3c01),
+ ast_id: InFileWrapper {
+ file_id: FileId(
+ EditionedFileIdData {
+ editioned_file_id: EditionedFileId(
+ 0,
+ Edition2024,
+ ),
+ krate: Crate(
+ Id(1c00),
+ ),
+ },
+ ),
+ value: FileAstId::<syntax::ast::generated::nodes::BlockExpr>(ErasedFileAstId { kind: BlockExpr, index: 0, hash: F9BF }),
+ },
+ module: ModuleIdLt {
+ [salsa id]: Id(3002),
+ krate: Crate(
+ Id(1c00),
+ ),
+ block: Some(
+ BlockIdLt {
+ [salsa id]: Id(3c00),
+ ast_id: InFileWrapper {
+ file_id: FileId(
+ EditionedFileIdData {
+ editioned_file_id: EditionedFileId(
+ 0,
+ Edition2024,
+ ),
+ krate: Crate(
+ Id(1c00),
+ ),
+ },
+ ),
+ value: FileAstId::<syntax::ast::generated::nodes::BlockExpr>(ErasedFileAstId { kind: BlockExpr, index: 0, hash: C181 }),
+ },
+ module: ModuleIdLt {
+ [salsa id]: Id(3000),
+ krate: Crate(
+ Id(1c00),
+ ),
+ block: None,
+ },
+ },
+ ),
+ },
+ },
),
}"#]],
);