Skip to content

Commit 74107f9

Browse files
committed
Remove require_owned_box
It's unused and unnecessary
1 parent 4738231 commit 74107f9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustc/middle/lang_items.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,6 @@ impl LanguageItems {
8383
}
8484
}
8585

86-
pub fn require_owned_box(&self) -> Result<DefId, String> {
87-
self.require(OwnedBoxLangItem)
88-
}
89-
9086
pub fn fn_trait_kind(&self, id: DefId) -> Option<ty::ClosureKind> {
9187
let def_id_kinds = [
9288
(self.fn_trait(), ty::ClosureKind::Fn),

0 commit comments

Comments
 (0)