Rollup merge of #133265 - the8472:extract-if-ranges, r=cuviper
Add a range argument to vec.extract_if tracking issue: #43244 This adds the range argument requested in https://github.com/rust-lang/rust/issues/43244#issuecomment-2486160659
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user