diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-04-01 20:34:40 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-04-02 15:56:31 -0700 |
| commit | 46abacfdfebf3978b5bf39673d0b751636dd2257 (patch) | |
| tree | 0a10d9f37cfff50cd49860b34c12e1020f6337c8 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 3786b552a6ffd2219d8e42df6f8db6cc386cce56 (diff) | |
| download | rust-46abacfdfebf3978b5bf39673d0b751636dd2257.tar.gz rust-46abacfdfebf3978b5bf39673d0b751636dd2257.zip | |
rustc: Require that vector indices are uints
This commit tightens up the restriction on types used to index slices to require exactly `uint` indices. Previously any integral type was accepted, but this leads to a few subtle problems: * 64-bit indices don't make much sense on 32-bit systems * Signed indices for slices used as negative indexing isn't implemented This was discussed at the recent work week, and also has some discussion on issue #10453. Closes #10453
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
