diff options
| author | bors <bors@rust-lang.org> | 2024-05-21 10:13:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-21 10:13:53 +0000 |
| commit | e8fbd991287f637f95016a71ddc13438415bbe59 (patch) | |
| tree | 963b2346831db94fadb9b3111d65649575e0c57f /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | e8753914580fb42554a79a4b5c5fb4cc98933231 (diff) | |
| parent | 917bb8396cfae8e040e547445a2a6d9cdbd83475 (diff) | |
| download | rust-e8fbd991287f637f95016a71ddc13438415bbe59.tar.gz rust-e8fbd991287f637f95016a71ddc13438415bbe59.zip | |
Auto merge of #124097 - compiler-errors:box-into-iter, r=WaffleLapkin
Add `IntoIterator` for `Box<[T]>` + edition 2024-specific lints * Adds a similar method probe opt-out mechanism to the `[T;N]: IntoIterator` implementation for edition 2021. * Adjusts the relevant lints (shadowed `.into_iter()` calls, new source of method ambiguity). * Adds some tests. * Took the liberty to rework the logic in the `ARRAY_INTO_ITER` lint, since it was kind of confusing. Based mostly off of #116607. ACP: rust-lang/libs-team#263 References #59878 Tracking for Rust 2024: https://github.com/rust-lang/rust/issues/123759 Crater run was done here: https://github.com/rust-lang/rust/pull/116607#issuecomment-1770293013 Consensus afaict was that there is too much breakage, so let's do this in an edition-dependent way much like `[T; N]: IntoIterator`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
