File tree 2 files changed +84
-84
lines changed
2 files changed +84
-84
lines changed Original file line number Diff line number Diff line change @@ -141,22 +141,22 @@ pub trait Map<'hir> {
141
141
// Used when no map is actually available, forcing manual implementation of nested visitors.
142
142
impl < ' hir > Map < ' hir > for ! {
143
143
fn find ( & self , _: HirId ) -> Option < Node < ' hir > > {
144
- unreachable ! ( )
144
+ * self ;
145
145
}
146
146
fn body ( & self , _: BodyId ) -> & ' hir Body < ' hir > {
147
- unreachable ! ( )
147
+ * self ;
148
148
}
149
149
fn item ( & self , _: ItemId ) -> & ' hir Item < ' hir > {
150
- unreachable ! ( )
150
+ * self ;
151
151
}
152
152
fn trait_item ( & self , _: TraitItemId ) -> & ' hir TraitItem < ' hir > {
153
- unreachable ! ( )
153
+ * self ;
154
154
}
155
155
fn impl_item ( & self , _: ImplItemId ) -> & ' hir ImplItem < ' hir > {
156
- unreachable ! ( )
156
+ * self ;
157
157
}
158
158
fn foreign_item ( & self , _: ForeignItemId ) -> & ' hir ForeignItem < ' hir > {
159
- unreachable ! ( )
159
+ * self ;
160
160
}
161
161
}
162
162
You can’t perform that action at this time.
0 commit comments