about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-06-12 10:27:44 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-06-13 13:53:34 -0700
commitb612ae9edea26cb8704363c47a66d583b644ad09 (patch)
tree42052d147d0bec55448f00adaca2eac306a9b95e /src/rustllvm/RustWrapper.cpp
parent00e1a6923773500f0d5b9bad64d05eb5d4a24c53 (diff)
downloadrust-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