File tree 2 files changed +0
-10
lines changed
2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -342,11 +342,6 @@ impl Definitions {
342
342
self . def_id_to_hir_id [ id] . unwrap ( )
343
343
}
344
344
345
- #[ inline]
346
- pub fn opt_local_def_id_to_hir_id ( & self , id : LocalDefId ) -> Option < hir:: HirId > {
347
- self . def_id_to_hir_id [ id]
348
- }
349
-
350
345
#[ inline]
351
346
pub fn opt_hir_id_to_local_def_id ( & self , hir_id : hir:: HirId ) -> Option < LocalDefId > {
352
347
self . hir_id_to_def_id . get ( & hir_id) . copied ( )
Original file line number Diff line number Diff line change @@ -180,11 +180,6 @@ impl<'hir> Map<'hir> {
180
180
self . tcx . definitions . local_def_id_to_hir_id ( def_id)
181
181
}
182
182
183
- #[ inline]
184
- pub fn opt_local_def_id_to_hir_id ( & self , def_id : LocalDefId ) -> Option < HirId > {
185
- self . tcx . definitions . opt_local_def_id_to_hir_id ( def_id)
186
- }
187
-
188
183
pub fn iter_local_def_id ( & self ) -> impl Iterator < Item = LocalDefId > + ' _ {
189
184
self . tcx . definitions . iter_local_def_id ( )
190
185
}
You can’t perform that action at this time.
0 commit comments