Skip to content

Commit 22f65e9

Browse files
committed
auto merge of #5786 : JensNockert/rust/u16-debuginfo-typo, r=catamorphism
A small typo in debuginfo.rs related to the u16 type.
2 parents 786ae01 + e06b982 commit 22f65e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/trans/debuginfo.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ fn create_basic_type(cx: @CrateContext, t: ty::t, span: span)
368368
ty::ty_uint(uint_ty) => match uint_ty {
369369
ast::ty_u => (~"uint", DW_ATE_unsigned),
370370
ast::ty_u8 => (~"u8", DW_ATE_unsigned),
371-
ast::ty_u16 => (~"i16", DW_ATE_unsigned),
371+
ast::ty_u16 => (~"u16", DW_ATE_unsigned),
372372
ast::ty_u32 => (~"u32", DW_ATE_unsigned),
373373
ast::ty_u64 => (~"u64", DW_ATE_unsigned)
374374
},

0 commit comments

Comments
 (0)