diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-08-19 17:24:04 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-08-27 18:47:57 -0700 |
| commit | 4f32a2d8540cc7534270be3a0aa33b830534a67b (patch) | |
| tree | 5eb9fcf39e8d43b19ab1ee030fb4802800d62d76 /src/libextra/crypto | |
| parent | 5c9f5ec3975d54b59d3d4813063f87fb3f41d3f6 (diff) | |
librustc: Fix merge fallout.
Diffstat (limited to 'src/libextra/crypto')
| -rw-r--r-- | src/libextra/crypto/cryptoutil.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libextra/crypto/cryptoutil.rs b/src/libextra/crypto/cryptoutil.rs index d4d43558110..9516517d9f7 100644 --- a/src/libextra/crypto/cryptoutil.rs +++ b/src/libextra/crypto/cryptoutil.rs @@ -420,6 +420,7 @@ mod test { #[test] #[should_fail] fn test_add_bytes_to_bits_tuple_overflow2() { - add_bytes_to_bits_tuple::<u64>((Bounded::max_value::<u64>() - 1, 0), 0x8000000000000000); + let value: u64 = Bounded::max_value(); + add_bytes_to_bits_tuple::<u64>((value - 1, 0), 0x8000000000000000); } } |
