Skip to content

Teach rustc about iterators #220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
graydon opened this issue Jan 27, 2011 · 3 comments
Closed

Teach rustc about iterators #220

graydon opened this issue Jan 27, 2011 · 3 comments

Comments

@graydon
Copy link
Contributor

graydon commented Jan 27, 2011

Rustc has no support for iterators beyond basic parsing. Neither the iterator nor the for each loop that interlocks with it. Implement these.

@graydon
Copy link
Contributor Author

graydon commented Feb 23, 2011

Works if they don't do environment access as of cset b0c7439. Will followup for the env access case.

@pcwalton
Copy link
Contributor

Everything except iter-ret now works; filing a followup for this.

@pcwalton
Copy link
Contributor

Filed issue #270. Closing this as iterators now work otherwise.

oli-obk added a commit to oli-obk/rust that referenced this issue Jul 19, 2017
Remove the `field` field from `Lvalue::Local`
kazcw pushed a commit to kazcw/rust that referenced this issue Oct 23, 2018
* [sse] _mm_cvtps_pi32, _mm_cvt_ps2pi

* [mmx] run-time detection support

* [x86] add mmx module

* [x86] make __m64 public

* [sse] add _mm_cvtps_pi{8,16}, _mm_cvttps_pi32, _mm_cvtt_ps2pi

* move new intrinsics from i586 to i686 module

* mmx requires i686
dlrobertson pushed a commit to dlrobertson/rust that referenced this issue Nov 29, 2018
Provide instructions on the RFC Status project.
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
carolynzech pushed a commit to carolynzech/rust that referenced this issue Feb 19, 2025
Towards rust-lang#220

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
carolynzech added a commit to carolynzech/rust that referenced this issue Apr 17, 2025
…e 12 (rust-lang#247)

In this PR, I refined the existing challenges by:
- Added the missing contracts and harnesses for 3 functions write,
write_bytes, write_unaligned for the NonNull challenge, then changed the
status of this challenge to "resolved".
- Edited some descriptions of smallsort 
- Removed the (optional) correctness checking in NonZero challenge.
- Resolved the Safety of Primitive Conversions challenge.
I don't add more functions to existing challenge to keep each challenge
under manageable size. I will create other challenges for functions
inside the same modules as the existing ones.

Resolves rust-lang#53
Resolves rust-lang#220

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.

---------

Co-authored-by: Carolyn Zech <[email protected]>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants