]> git.lizzy.rs Git - rust.git/commit
Clean up lang_items::extract
authorEric Huss <eric@huss.org>
Sun, 9 Jan 2022 21:41:04 +0000 (13:41 -0800)
committerEric Huss <eric@huss.org>
Sun, 9 Jan 2022 21:41:04 +0000 (13:41 -0800)
commit2b7572092c9953cd82d99768732e624bd6da56e9
treea8120f7ada64a5221020e595396a8de5c611d73a
parentf7bb8e3677ba4277914e85a3060e5d69151aed44
Clean up lang_items::extract

Noted in https://github.com/rust-lang/rust/pull/87739#pullrequestreview-740497194,
lang_items::extract no longer needs to take a closure.
compiler/rustc_hir/src/lang_items.rs
compiler/rustc_hir/src/weak_lang_items.rs
compiler/rustc_passes/src/lang_items.rs
compiler/rustc_passes/src/weak_lang_items.rs
compiler/rustc_typeck/src/collect.rs