Skip to content
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

Make vecs indexable by both int and uint #94

Closed
froystig opened this issue Jun 30, 2010 · 1 comment
Closed

Make vecs indexable by both int and uint #94

froystig opened this issue Jun 30, 2010 · 1 comment
Labels
A-typesystem Area: The type system

Comments

@froystig
Copy link
Contributor

Perhaps even indexable by all integral types (int, uint, and machine types). At present the typechecker won't let anything but an int get by when indexing into a vec.

@graydon
Copy link
Contributor

graydon commented Aug 5, 2010

Move 'as' precedence up to just above relational; support indexing str and vec by all integral types. Closed by 29987b5.

mbrubeck pushed a commit to mbrubeck/rust that referenced this issue Oct 17, 2011
oli-obk pushed a commit to oli-obk/rust that referenced this issue Jul 19, 2017
Revert "rustup to rustc 1.15.0-dev (ace092f 2016-12-13)"
kazcw pushed a commit to kazcw/rust that referenced this issue Oct 23, 2018
- Add more examples to _mm_cmpistri
 - Add basic docs to _mm_cmpestri
 - Cleanup lib docs
dlrobertson pushed a commit to dlrobertson/rust that referenced this issue Nov 29, 2018
Document lifetime of temporaries in conditions of if and while-expr
antoyo added a commit to antoyo/rust that referenced this issue Sep 28, 2021
* Refactor test.sh script

* Fix mismatched types error
djtech-dev pushed a commit to djtech-dev/rust that referenced this issue Dec 9, 2021
…value

Derive Clone, Copy, and Hash for CallSiteValue
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Co-authored-by: Daniel Schwartz-Narbonne <[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
A-typesystem Area: The type system
Projects
None yet
Development

No branches or pull requests

2 participants