-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
'times' Iterating incorrect number of times #3398
Comments
I wonder if the 300 is getting inferred to an i8. |
Here's a self-contained test case:
If you change the order of impl declarations it works. |
I believe this is a dup of (or, rather, a consequence of) #3211 |
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this issue
Mar 25, 2024
Add libc direct test for shims and update CONTRIBUTING.md Add more ``libc`` direct test for shims as mentioned in rust-lang#3179. Changes: - Added ``libc`` direct tests for ``rename`` and ``ftruncate64`` - Added the command for running ``pass-dep`` test in ``CONTRIBUTING.md``
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code using 'times' only prints 44 lines, whereas I'd expect it to print 300 lines.
Replacing '300' with 300u prints 300 lines:
Tested with rust incoming branch:
The text was updated successfully, but these errors were encountered: