Skip to content

Commit 58acd82

Browse files
committed
---
yaml --- r: 123657 b: refs/heads/try c: fa8da9d h: refs/heads/master i: 123655: a8a558a v: v3
1 parent e4fc0c8 commit 58acd82

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: da4e4e4e0a7778a85748aa4a303b13f603e96b4b
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 8ddd286ea4ba4384a0dc9eae393ed515460a986e
5-
refs/heads/try: e9e5ea2f903ed780e0bbbe5f5662a5ee2054c4a2
5+
refs/heads/try: fa8da9d6b317f39402f1127575e2bd08db33c508
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/librustc/middle/trans/debuginfo.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2152,8 +2152,12 @@ impl EnumMemberDescriptionFactory {
21522152
let null_variant_index = (1 - nndiscr) as uint;
21532153
let null_variant_ident = self.variants.get(null_variant_index).name;
21542154
let null_variant_name = token::get_ident(null_variant_ident);
2155+
let discrfield = match ptrfield {
2156+
adt::ThinPointer(field) => format!("{}", field),
2157+
adt::FatPointer(field, pair) => format!("{}${}", field, pair)
2158+
};
21552159
let union_member_name = format!("RUST$ENCODED$ENUM${}${}",
2156-
ptrfield,
2160+
discrfield,
21572161
null_variant_name);
21582162

21592163
// Create the (singleton) list of descriptions of union members.

0 commit comments

Comments
 (0)