File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
crates/hir_def/src/item_tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ pub(super) struct Ctx {
37
37
file : HirFileId ,
38
38
source_ast_id_map : Arc < AstIdMap > ,
39
39
body_ctx : crate :: body:: LowerCtx ,
40
- inner_items : Vec < ModItem > ,
41
40
forced_visibility : Option < RawVisibilityId > ,
42
41
}
43
42
@@ -49,7 +48,6 @@ impl Ctx {
49
48
file,
50
49
source_ast_id_map : db. ast_id_map ( file) ,
51
50
body_ctx : crate :: body:: LowerCtx :: new ( db, file) ,
52
- inner_items : Vec :: new ( ) ,
53
51
forced_visibility : None ,
54
52
}
55
53
}
@@ -73,8 +71,6 @@ impl Ctx {
73
71
}
74
72
75
73
fn lower_mod_item ( & mut self , item : & ast:: Item , inner : bool ) -> Option < ModItems > {
76
- assert ! ( inner || self . inner_items. is_empty( ) ) ;
77
-
78
74
// Collect inner items for 1-to-1-lowered items.
79
75
match item {
80
76
ast:: Item :: Struct ( _)
You can’t perform that action at this time.
0 commit comments