Skip to content

Commit 261c7c1

Browse files
committed
Remove unnecessary cast
1 parent d7bb9de commit 261c7c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_codegen_llvm/debuginfo/metadata.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1288,7 +1288,7 @@ impl EnumMemberDescriptionFactory<'ll, 'tcx> {
12881288
flags: DIFlags::FlagZero,
12891289
discriminant: Some(self.layout.ty.ty_adt_def().unwrap()
12901290
.discriminant_for_variant(cx.tcx, i)
1291-
.val as u128),
1291+
.val),
12921292
}
12931293
}).collect()
12941294
}

0 commit comments

Comments
 (0)