diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-06-12 10:27:44 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-06-13 13:53:34 -0700 |
| commit | b612ae9edea26cb8704363c47a66d583b644ad09 (patch) | |
| tree | 42052d147d0bec55448f00adaca2eac306a9b95e /src/rustllvm/RustWrapper.cpp | |
| parent | 00e1a6923773500f0d5b9bad64d05eb5d4a24c53 (diff) | |
| download | rust-b612ae9edea26cb8704363c47a66d583b644ad09.tar.gz rust-b612ae9edea26cb8704363c47a66d583b644ad09.zip | |
rustc: [T, ..N] and [T, ..N+1] are not the same
This commit fixes a bug in the calculation of the hash of a type which didn't factor in the length of a constant-sized vector. As a result of this, a type placed into an Any of a fixed length could be peeled out with any other fixed length in a safe manner.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
