Remove require_owned_box
It's unused and unnecessary
This commit is contained in:
parent
4738231cc7
commit
74107f987b
1 changed files with 0 additions and 4 deletions
|
@ -83,10 +83,6 @@ impl LanguageItems {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn require_owned_box(&self) -> Result<DefId, String> {
|
||||
self.require(OwnedBoxLangItem)
|
||||
}
|
||||
|
||||
pub fn fn_trait_kind(&self, id: DefId) -> Option<ty::ClosureKind> {
|
||||
let def_id_kinds = [
|
||||
(self.fn_trait(), ty::ClosureKind::Fn),
|
||||
|
|
Loading…
Reference in a new issue