-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Tracking Issue for edition-dependent IntoIterator for arrays #84513
Copy link
Copy link
Open
Labels
A-arrayArea: `[T; N]`Area: `[T; N]`A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsA-edition-2021Area: The 2021 editionArea: The 2021 editionA-iteratorsArea: IteratorsArea: IteratorsC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-arrayArea: `[T; N]`Area: `[T; N]`A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsA-edition-2021Area: The 2021 editionArea: The 2021 editionA-iteratorsArea: IteratorsArea: IteratorsC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
array::IntoItertype: Tracking issue for by-value array iterator (featurearray_value_iter) #65798.into_iter()resolution edition dependent: exploration: ignoring arrays in method dispatch #84133AddIncluded in Cautiously add IntoIterator for arrays by value #84147IntoIteratorimpl for arrays by value (for [T; N]) #65819.into_iter()in method resolution on Rust 2015 and Rust 2018: Cautiously add IntoIterator for arrays by value #84147array_into_iterlint.a.into_iter()syntax for backwards compatibility): Update array_into_iter lint for 1.53 and edition changes. #85682.into_iter()infor a in [1, 2, 3].into_iter(), since that now works on all editions: Update array_into_iter lint for 1.53 and edition changes. #85682IntoIterator::into_iter(array): Update array_into_iter lint for 1.53 and edition changes. #85682array::IntoIter::new(the ".. in the future, after .." part): Update outdated docs of array::IntoIter::new. #88610arrayprimitive type - Update primitive docs for rust 2021. #88613array::IntoIter::new: Update standard library for IntoIterator implementation of arrays #85930.chain(array.iter().cloned())to just.chain(array)since that now works on all editions. (Same forzip,extendetc.): Update standard library for IntoIterator implementation of arrays #85930.extend(array)andfrom_iter(array)wherever that simplifies things.arrays do not yet implement IntoIteratormessage from Iterator trait: Remove arrays/IntoIterator message from Iterator trait. #85670for _ in [start..end]messages from Iterator trait. (Could use a new clippy lint?): Remove Iterator #[rustc_on_unimplemented]s that no longer apply. #85689array::IntoIter::new(IntoIterator::into_iter([1,2,3])now works too on all editions.): Deprecate array::IntoIter::new. #88611Once edition 2021 is stable:
Some(&1)→Some(1)etc.)&i32instead of justi32.).iter().copied()and.iter().cloned()from examples and tests.Unresolved questions:
IntoIteratorimplementation forBox<[T; N]>etc? Add lint about big copies?)