The Gen Auto-Trait Problem

One of the open questions surrounding the unstable gen {} feature is whether it should return Iterator or IntoIterator . People have had a feeling there might be good reasons for it to return IntoIterator , but couldn't necessarily articulate why . Which is why it was included in the "unresolved questions" section on the gen blocks RFC. Because I'd like to see gen {} blocks stabilize sooner, I…