Skip to content

Commit 9b35051

Browse files
committed
rustc: Use the name "opaque_tag", not "tag", for opaque tags
1 parent 1092bbf commit 9b35051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comp/middle/trans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ fn T_tag(type_names tn, uint size) -> TypeRef {
487487
}
488488

489489
fn T_opaque_tag(type_names tn) -> TypeRef {
490-
auto s = "tag";
490+
auto s = "opaque_tag";
491491
if (tn.name_has_type(s)) {
492492
ret tn.get_type(s);
493493
}

0 commit comments

Comments
 (0)