Remove require_owned_box

It's unused and unnecessary
This commit is contained in:
leonardo.yvens 2017-09-13 11:16:45 -03:00
parent 4738231cc7
commit 74107f987b

View file

@ -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),