Skip to content

Commit 4281bd1

Browse files
committed
rollup merge of rust-lang#20754: nikomatsakis/int-feature
Conflicts: src/test/compile-fail/borrowck-move-out-of-overloaded-auto-deref.rs src/test/compile-fail/issue-2590.rs src/test/compile-fail/lint-stability.rs src/test/compile-fail/slice-mut-2.rs src/test/compile-fail/std-uncopyable-atomics.rs
2 parents 8ed88c1 + a661bd6 commit 4281bd1

File tree

835 files changed

+2404
-2135
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

835 files changed

+2404
-2135
lines changed

src/compiletest/compiletest.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#![allow(unknown_features)]
1313
#![feature(slicing_syntax, unboxed_closures)]
1414
#![feature(box_syntax)]
15+
#![feature(int_uint)]
1516

1617
#![deny(warnings)]
1718

src/liballoc/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
#![allow(unknown_features)]
6969
#![feature(lang_items, unsafe_destructor)]
7070
#![feature(box_syntax)]
71+
#![allow(unknown_features)] #![feature(int_uint)]
7172

7273
#[macro_use]
7374
extern crate core;

src/libarena/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#![feature(unsafe_destructor)]
3333
#![feature(unboxed_closures)]
3434
#![feature(box_syntax)]
35+
#![allow(unknown_features)] #![feature(int_uint)]
3536
#![allow(missing_docs)]
3637

3738
extern crate alloc;

src/libcollections/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#![feature(box_syntax)]
2828
#![feature(unboxed_closures)]
2929
#![feature(old_impl_check)]
30+
#![allow(unknown_features)] #![feature(int_uint)]
3031
#![no_std]
3132

3233
#[macro_use]

src/libcore/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@
5959
#![no_std]
6060
#![allow(unknown_features, raw_pointer_derive)]
6161
#![cfg_attr(stage0, allow(unused_attributes))]
62-
#![feature(intrinsics, lang_items)]
62+
#![allow(unknown_features)] #![feature(intrinsics, lang_items)]
6363
#![feature(simd, unsafe_destructor, slicing_syntax)]
6464
#![feature(unboxed_closures)]
65+
#![allow(unknown_features)] #![feature(int_uint)]
6566
#![deny(missing_docs)]
6667

6768
#[macro_use]

src/libcore/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ macro_rules! panic {
1515
panic!("explicit panic")
1616
);
1717
($msg:expr) => ({
18-
static _MSG_FILE_LINE: (&'static str, &'static str, uint) = ($msg, file!(), line!());
18+
static _MSG_FILE_LINE: (&'static str, &'static str, usize) = ($msg, file!(), line!());
1919
::core::panicking::panic(&_MSG_FILE_LINE)
2020
});
2121
($fmt:expr, $($arg:tt)*) => ({
2222
// The leading _'s are to avoid dead code warnings if this is
2323
// used inside a dead function. Just `#[allow(dead_code)]` is
2424
// insufficient, since the user may have
2525
// `#[forbid(dead_code)]` and which cannot be overridden.
26-
static _FILE_LINE: (&'static str, uint) = (file!(), line!());
26+
static _FILE_LINE: (&'static str, usize) = (file!(), line!());
2727
::core::panicking::panic_fmt(format_args!($fmt, $($arg)*), &_FILE_LINE)
2828
});
2929
}

src/libcoretest/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#![feature(unsafe_destructor, slicing_syntax)]
1212
#![feature(unboxed_closures)]
1313
#![feature(box_syntax)]
14+
#![allow(unknown_features)] #![feature(int_uint)]
1415

1516
extern crate core;
1617
extern crate test;

src/libflate/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#![crate_name = "flate"]
1818
#![unstable]
1919
#![staged_api]
20+
#![allow(unknown_features)] #![feature(int_uint)]
2021
#![crate_type = "rlib"]
2122
#![crate_type = "dylib"]
2223
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",

src/libfmt_macros/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
html_playground_url = "http://play.rust-lang.org/")]
2626

2727
#![feature(slicing_syntax)]
28+
#![allow(unknown_features)] #![feature(int_uint)]
2829

2930
pub use self::Piece::*;
3031
pub use self::Position::*;

src/libgetopts/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
html_root_url = "http://doc.rust-lang.org/nightly/",
8888
html_playground_url = "http://play.rust-lang.org/")]
8989
#![feature(slicing_syntax)]
90+
#![allow(unknown_features)] #![feature(int_uint)]
9091
#![deny(missing_docs)]
9192

9293
#[cfg(test)] #[macro_use] extern crate log;

src/libgraphviz/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@
273273
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
274274
html_root_url = "http://doc.rust-lang.org/nightly/")]
275275
#![feature(slicing_syntax)]
276+
#![allow(unknown_features)] #![feature(int_uint)]
276277

277278
use self::LabelText::*;
278279

src/liblibc/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#![crate_type = "rlib"]
1313
#![cfg_attr(not(feature = "cargo-build"), unstable)]
1414
#![cfg_attr(not(feature = "cargo-build"), staged_api)]
15+
#![allow(unknown_features)] #![feature(int_uint)]
1516
#![no_std]
1617
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
1718
html_favicon_url = "http://www.rust-lang.org/favicon.ico",

src/liblog/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
#![allow(unknown_features)]
169169
#![feature(slicing_syntax)]
170170
#![feature(box_syntax)]
171+
#![allow(unknown_features)] #![feature(int_uint)]
171172
#![deny(missing_docs)]
172173

173174
extern crate regex;

src/librand/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
2323
html_root_url = "http://doc.rust-lang.org/nightly/",
2424
html_playground_url = "http://play.rust-lang.org/")]
25-
25+
#![allow(unknown_features)] #![feature(int_uint)]
2626
#![no_std]
2727
#![unstable]
2828
#![staged_api]

src/librbml/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
html_playground_url = "http://play.rust-lang.org/")]
2727
#![allow(unknown_features)]
2828
#![feature(slicing_syntax)]
29+
#![allow(unknown_features)] #![feature(int_uint)]
2930

3031
extern crate serialize;
3132
#[macro_use] extern crate log;

src/libregex/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#![allow(unknown_features)]
2727
#![feature(slicing_syntax)]
2828
#![feature(box_syntax)]
29+
#![allow(unknown_features)] #![feature(int_uint)]
2930
#![deny(missing_docs)]
3031

3132
#[cfg(test)]

src/librustc/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#![feature(quote)]
2828
#![feature(slicing_syntax, unsafe_destructor)]
2929
#![feature(box_syntax)]
30+
#![allow(unknown_features)] #![feature(int_uint)]
3031
#![feature(rustc_diagnostic_macros)]
3132
#![feature(old_impl_check)]
3233

src/librustc/lint/builtin.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ impl LintPass for TypeLimits {
216216
match lit.node {
217217
ast::LitInt(v, ast::SignedIntLit(_, ast::Plus)) |
218218
ast::LitInt(v, ast::UnsuffixedIntLit(ast::Plus)) => {
219-
let int_type = if t == ast::TyIs {
219+
let int_type = if let ast::TyIs(_) = t {
220220
cx.sess().target.int_type
221221
} else { t };
222222
let (min, max) = int_ty_range(int_type);
@@ -233,7 +233,7 @@ impl LintPass for TypeLimits {
233233
};
234234
},
235235
ty::ty_uint(t) => {
236-
let uint_type = if t == ast::TyUs {
236+
let uint_type = if let ast::TyUs(_) = t {
237237
cx.sess().target.uint_type
238238
} else { t };
239239
let (min, max) = uint_ty_range(uint_type);
@@ -296,7 +296,7 @@ impl LintPass for TypeLimits {
296296
// warnings are consistent between 32- and 64-bit platforms
297297
fn int_ty_range(int_ty: ast::IntTy) -> (i64, i64) {
298298
match int_ty {
299-
ast::TyIs=> (i64::MIN, i64::MAX),
299+
ast::TyIs(_) => (i64::MIN, i64::MAX),
300300
ast::TyI8 => (i8::MIN as i64, i8::MAX as i64),
301301
ast::TyI16 => (i16::MIN as i64, i16::MAX as i64),
302302
ast::TyI32 => (i32::MIN as i64, i32::MAX as i64),
@@ -306,7 +306,7 @@ impl LintPass for TypeLimits {
306306

307307
fn uint_ty_range(uint_ty: ast::UintTy) -> (u64, u64) {
308308
match uint_ty {
309-
ast::TyUs=> (u64::MIN, u64::MAX),
309+
ast::TyUs(_) => (u64::MIN, u64::MAX),
310310
ast::TyU8 => (u8::MIN as u64, u8::MAX as u64),
311311
ast::TyU16 => (u16::MIN as u64, u16::MAX as u64),
312312
ast::TyU32 => (u32::MIN as u64, u32::MAX as u64),
@@ -323,7 +323,7 @@ impl LintPass for TypeLimits {
323323

324324
fn int_ty_bits(int_ty: ast::IntTy, target_int_ty: ast::IntTy) -> u64 {
325325
match int_ty {
326-
ast::TyIs=> int_ty_bits(target_int_ty, target_int_ty),
326+
ast::TyIs(_) => int_ty_bits(target_int_ty, target_int_ty),
327327
ast::TyI8 => i8::BITS as u64,
328328
ast::TyI16 => i16::BITS as u64,
329329
ast::TyI32 => i32::BITS as u64,
@@ -333,7 +333,7 @@ impl LintPass for TypeLimits {
333333

334334
fn uint_ty_bits(uint_ty: ast::UintTy, target_uint_ty: ast::UintTy) -> u64 {
335335
match uint_ty {
336-
ast::TyUs=> uint_ty_bits(target_uint_ty, target_uint_ty),
336+
ast::TyUs(_) => uint_ty_bits(target_uint_ty, target_uint_ty),
337337
ast::TyU8 => u8::BITS as u64,
338338
ast::TyU16 => u16::BITS as u64,
339339
ast::TyU32 => u32::BITS as u64,
@@ -404,12 +404,12 @@ struct ImproperCTypesVisitor<'a, 'tcx: 'a> {
404404
impl<'a, 'tcx> ImproperCTypesVisitor<'a, 'tcx> {
405405
fn check_def(&mut self, sp: Span, ty_id: ast::NodeId, path_id: ast::NodeId) {
406406
match self.cx.tcx.def_map.borrow()[path_id].clone() {
407-
def::DefPrimTy(ast::TyInt(ast::TyIs)) => {
407+
def::DefPrimTy(ast::TyInt(ast::TyIs(_))) => {
408408
self.cx.span_lint(IMPROPER_CTYPES, sp,
409409
"found rust type `isize` in foreign module, while \
410410
libc::c_int or libc::c_long should be used");
411411
}
412-
def::DefPrimTy(ast::TyUint(ast::TyUs)) => {
412+
def::DefPrimTy(ast::TyUint(ast::TyUs(_))) => {
413413
self.cx.span_lint(IMPROPER_CTYPES, sp,
414414
"found rust type `usize` in foreign module, while \
415415
libc::c_uint or libc::c_ulong should be used");

src/librustc/metadata/tyencode.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pub fn enc_ty<'a, 'tcx>(w: &mut SeekableMemWriter, cx: &ctxt<'a, 'tcx>, t: Ty<'t
6161
ty::ty_char => mywrite!(w, "c"),
6262
ty::ty_int(t) => {
6363
match t {
64-
ast::TyIs => mywrite!(w, "is"),
64+
ast::TyIs(_) => mywrite!(w, "is"),
6565
ast::TyI8 => mywrite!(w, "MB"),
6666
ast::TyI16 => mywrite!(w, "MW"),
6767
ast::TyI32 => mywrite!(w, "ML"),
@@ -70,7 +70,7 @@ pub fn enc_ty<'a, 'tcx>(w: &mut SeekableMemWriter, cx: &ctxt<'a, 'tcx>, t: Ty<'t
7070
}
7171
ty::ty_uint(t) => {
7272
match t {
73-
ast::TyUs => mywrite!(w, "us"),
73+
ast::TyUs(_) => mywrite!(w, "us"),
7474
ast::TyU8 => mywrite!(w, "Mb"),
7575
ast::TyU16 => mywrite!(w, "Mw"),
7676
ast::TyU32 => mywrite!(w, "Ml"),

src/librustc/middle/const_eval.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,12 +528,12 @@ pub fn eval_const_expr_partial(tcx: &ty::ctxt, e: &Expr) -> Result<const_val, St
528528

529529
eval_const_expr_partial(tcx, &**base)
530530
.and_then(|val| define_casts!(val, {
531-
ty::ty_int(ast::TyIs) => (int, const_int, i64),
531+
ty::ty_int(ast::TyIs(_)) => (int, const_int, i64),
532532
ty::ty_int(ast::TyI8) => (i8, const_int, i64),
533533
ty::ty_int(ast::TyI16) => (i16, const_int, i64),
534534
ty::ty_int(ast::TyI32) => (i32, const_int, i64),
535535
ty::ty_int(ast::TyI64) => (i64, const_int, i64),
536-
ty::ty_uint(ast::TyUs) => (uint, const_uint, u64),
536+
ty::ty_uint(ast::TyUs(_)) => (uint, const_uint, u64),
537537
ty::ty_uint(ast::TyU8) => (u8, const_uint, u64),
538538
ty::ty_uint(ast::TyU16) => (u16, const_uint, u64),
539539
ty::ty_uint(ast::TyU32) => (u32, const_uint, u64),

src/librustc/middle/ty.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2341,12 +2341,12 @@ impl<'tcx> CommonTypes<'tcx> {
23412341
bool: intern_ty(arena, interner, ty_bool),
23422342
char: intern_ty(arena, interner, ty_char),
23432343
err: intern_ty(arena, interner, ty_err),
2344-
int: intern_ty(arena, interner, ty_int(ast::TyIs)),
2344+
int: intern_ty(arena, interner, ty_int(ast::TyIs(false))),
23452345
i8: intern_ty(arena, interner, ty_int(ast::TyI8)),
23462346
i16: intern_ty(arena, interner, ty_int(ast::TyI16)),
23472347
i32: intern_ty(arena, interner, ty_int(ast::TyI32)),
23482348
i64: intern_ty(arena, interner, ty_int(ast::TyI64)),
2349-
uint: intern_ty(arena, interner, ty_uint(ast::TyUs)),
2349+
uint: intern_ty(arena, interner, ty_uint(ast::TyUs(false))),
23502350
u8: intern_ty(arena, interner, ty_uint(ast::TyU8)),
23512351
u16: intern_ty(arena, interner, ty_uint(ast::TyU16)),
23522352
u32: intern_ty(arena, interner, ty_uint(ast::TyU32)),
@@ -2692,7 +2692,7 @@ impl FlagComputation {
26922692

26932693
pub fn mk_mach_int<'tcx>(tcx: &ctxt<'tcx>, tm: ast::IntTy) -> Ty<'tcx> {
26942694
match tm {
2695-
ast::TyIs => tcx.types.int,
2695+
ast::TyIs(_) => tcx.types.int,
26962696
ast::TyI8 => tcx.types.i8,
26972697
ast::TyI16 => tcx.types.i16,
26982698
ast::TyI32 => tcx.types.i32,
@@ -2702,7 +2702,7 @@ pub fn mk_mach_int<'tcx>(tcx: &ctxt<'tcx>, tm: ast::IntTy) -> Ty<'tcx> {
27022702

27032703
pub fn mk_mach_uint<'tcx>(tcx: &ctxt<'tcx>, tm: ast::UintTy) -> Ty<'tcx> {
27042704
match tm {
2705-
ast::TyUs => tcx.types.uint,
2705+
ast::TyUs(_) => tcx.types.uint,
27062706
ast::TyU8 => tcx.types.u8,
27072707
ast::TyU16 => tcx.types.u16,
27082708
ast::TyU32 => tcx.types.u32,
@@ -3363,7 +3363,7 @@ pub fn type_contents<'tcx>(cx: &ctxt<'tcx>, ty: Ty<'tcx>) -> TypeContents {
33633363

33643364
let result = match ty.sty {
33653365
// uint and int are ffi-unsafe
3366-
ty_uint(ast::TyUs) | ty_int(ast::TyIs) => {
3366+
ty_uint(ast::TyUs(_)) | ty_int(ast::TyIs(_)) => {
33673367
TC::ReachesFfiUnsafe
33683368
}
33693369

@@ -3937,7 +3937,7 @@ pub fn type_is_fresh(ty: Ty) -> bool {
39373937

39383938
pub fn type_is_uint(ty: Ty) -> bool {
39393939
match ty.sty {
3940-
ty_infer(IntVar(_)) | ty_uint(ast::TyUs) => true,
3940+
ty_infer(IntVar(_)) | ty_uint(ast::TyUs(_)) => true,
39413941
_ => false
39423942
}
39433943
}
@@ -3983,7 +3983,7 @@ pub fn type_is_signed(ty: Ty) -> bool {
39833983

39843984
pub fn type_is_machine(ty: Ty) -> bool {
39853985
match ty.sty {
3986-
ty_int(ast::TyIs) | ty_uint(ast::TyUs) => false,
3986+
ty_int(ast::TyIs(_)) | ty_uint(ast::TyUs(_)) => false,
39873987
ty_int(..) | ty_uint(..) | ty_float(..) => true,
39883988
_ => false
39893989
}

src/librustc_back/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
html_root_url = "http://doc.rust-lang.org/nightly/")]
3232
#![allow(unknown_features)]
3333
#![feature(slicing_syntax, box_syntax)]
34+
#![allow(unknown_features)] #![feature(int_uint)]
3435

3536
extern crate syntax;
3637
extern crate serialize;

src/librustc_borrowck/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#![feature(quote)]
2222
#![feature(slicing_syntax, unsafe_destructor)]
2323
#![feature(rustc_diagnostic_macros)]
24+
#![allow(unknown_features)] #![feature(int_uint)]
2425
#![allow(non_camel_case_types)]
2526

2627
#[macro_use] extern crate log;

src/librustc_driver/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#![feature(slicing_syntax, unsafe_destructor)]
2929
#![feature(box_syntax)]
3030
#![feature(rustc_diagnostic_macros)]
31+
#![allow(unknown_features)] #![feature(int_uint)]
3132

3233
extern crate arena;
3334
extern crate flate;

src/librustc_llvm/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#![allow(unknown_features)]
2626
#![feature(link_args)]
2727
#![feature(box_syntax)]
28+
#![allow(unknown_features)] #![feature(int_uint)]
2829

2930
extern crate libc;
3031

src/librustc_resolve/lib.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
#![feature(slicing_syntax)]
2121
#![feature(rustc_diagnostic_macros)]
22+
#![allow(unknown_features)] #![feature(int_uint)]
2223

2324
#[macro_use] extern crate log;
2425
#[macro_use] extern crate syntax;
@@ -819,15 +820,15 @@ impl PrimitiveTypeTable {
819820
table.intern("char", TyChar);
820821
table.intern("f32", TyFloat(TyF32));
821822
table.intern("f64", TyFloat(TyF64));
822-
table.intern("int", TyInt(TyIs));
823-
table.intern("isize", TyInt(TyIs));
823+
table.intern("int", TyInt(TyIs(true)));
824+
table.intern("isize", TyInt(TyIs(false)));
824825
table.intern("i8", TyInt(TyI8));
825826
table.intern("i16", TyInt(TyI16));
826827
table.intern("i32", TyInt(TyI32));
827828
table.intern("i64", TyInt(TyI64));
828829
table.intern("str", TyStr);
829-
table.intern("uint", TyUint(TyUs));
830-
table.intern("usize", TyUint(TyUs));
830+
table.intern("uint", TyUint(TyUs(true)));
831+
table.intern("usize", TyUint(TyUs(false)));
831832
table.intern("u8", TyUint(TyU8));
832833
table.intern("u16", TyUint(TyU16));
833834
table.intern("u32", TyUint(TyU32));

src/librustc_trans/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#![feature(slicing_syntax, unsafe_destructor)]
2929
#![feature(box_syntax)]
3030
#![feature(rustc_diagnostic_macros)]
31+
#![allow(unknown_features)] #![feature(int_uint)]
3132

3233
extern crate arena;
3334
extern crate flate;

src/librustc_trans/trans/base.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -917,8 +917,8 @@ pub fn fail_if_zero_or_overflows<'blk, 'tcx>(
917917
ty::ty_int(t) => {
918918
let llty = Type::int_from_ty(cx.ccx(), t);
919919
let min = match t {
920-
ast::TyIs if llty == Type::i32(cx.ccx()) => i32::MIN as u64,
921-
ast::TyIs => i64::MIN as u64,
920+
ast::TyIs(_) if llty == Type::i32(cx.ccx()) => i32::MIN as u64,
921+
ast::TyIs(_) => i64::MIN as u64,
922922
ast::TyI8 => i8::MIN as u64,
923923
ast::TyI16 => i16::MIN as u64,
924924
ast::TyI32 => i32::MIN as u64,

0 commit comments

Comments
 (0)