update uses of extract_if in the compiler
This commit is contained in:
parent
03f1b73339
commit
fe521506a6
7 changed files with 13 additions and 13 deletions
|
@ -544,7 +544,7 @@ impl<'tcx> Collector<'tcx> {
|
|||
// can move them to the end of the list below.
|
||||
let mut existing = self
|
||||
.libs
|
||||
.extract_if(|lib| {
|
||||
.extract_if(.., |lib| {
|
||||
if lib.name.as_str() == passed_lib.name {
|
||||
// FIXME: This whole logic is questionable, whether modifiers are
|
||||
// involved or not, library reordering and kind overriding without
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue