You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just got the same ICE on linux with both the 2017-02-07 and 2017-02-09 builds.
My case is essentially the same. You create an iterator of references to sub-elements of some thing which has been passed in by reference. The compiler should figure out that the iterator can only live as long as the original object, but ICEs instead.
Playground
Output:
Other example (possibly different bug):
Output:
Meta
The text was updated successfully, but these errors were encountered: