diff options
| author | Corey Richardson <corey@octayn.net> | 2014-12-05 18:12:25 -0800 |
|---|---|---|
| committer | Corey Richardson <corey@octayn.net> | 2015-01-06 16:48:33 -0500 |
| commit | 5a4ca319185a3f399986bc5e5a2d0a96fac583ae (patch) | |
| tree | 25e545200752d8ff295b93d5482ac68476cd3922 /src/libsyntax | |
| parent | abcbe276954525bc7902a5a20762a580d5ed4ea2 (diff) | |
| download | rust-5a4ca319185a3f399986bc5e5a2d0a96fac583ae.tar.gz rust-5a4ca319185a3f399986bc5e5a2d0a96fac583ae.zip | |
test fallout from isize/usize
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/ast_util.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ast_util.rs b/src/libsyntax/ast_util.rs index d6df9f46621..b21233d71c8 100644 --- a/src/libsyntax/ast_util.rs +++ b/src/libsyntax/ast_util.rs @@ -141,7 +141,7 @@ pub fn int_ty_max(t: IntTy) -> u64 { match t { TyI8 => 0x80u64, TyI16 => 0x8000u64, - TyIs | TyI32 => 0x80000000u64, // actually ni about TyIm + TyIs | TyI32 => 0x80000000u64, // actually ni about TyIs TyI64 => 0x8000000000000000u64 } } @@ -168,7 +168,7 @@ pub fn uint_ty_max(t: UintTy) -> u64 { match t { TyU8 => 0xffu64, TyU16 => 0xffffu64, - TyUs | TyU32 => 0xffffffffu64, // actually ni about TyUm + TyUs | TyU32 => 0xffffffffu64, // actually ni about TyUs TyU64 => 0xffffffffffffffffu64 } } |
