Cleanup weak lang items
This commit is contained in:
parent
1e349fb0dd
commit
6621279a75
6 changed files with 38 additions and 63 deletions
|
@ -36,10 +36,6 @@ impl<'tcx> TyCtxt<'tcx> {
|
|||
_ => None,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn is_weak_lang_item(self, item_def_id: DefId) -> bool {
|
||||
self.lang_items().is_weak_lang_item(item_def_id)
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns `true` if the specified `lang_item` must be present for this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue