We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36b6d0e commit 0b57df7Copy full SHA for 0b57df7
src/librustc/middle/ty.rs
@@ -5509,12 +5509,12 @@ impl IntTypeExt for attr::IntType {
5509
SignedInt(ast::TyI16) => cx.types.i16,
5510
SignedInt(ast::TyI32) => cx.types.i32,
5511
SignedInt(ast::TyI64) => cx.types.i64,
5512
- SignedInt(ast::TyIs) => cx.types.int,
+ SignedInt(ast::TyIs) => cx.types.isize,
5513
UnsignedInt(ast::TyU8) => cx.types.u8,
5514
UnsignedInt(ast::TyU16) => cx.types.u16,
5515
UnsignedInt(ast::TyU32) => cx.types.u32,
5516
UnsignedInt(ast::TyU64) => cx.types.u64,
5517
- UnsignedInt(ast::TyUs) => cx.types.uint,
+ UnsignedInt(ast::TyUs) => cx.types.usize,
5518
}
5519
5520
0 commit comments