aboutsummaryrefslogtreecommitdiff
path: root/src/comp/middle/metadata.rs
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2011-04-22 12:08:23 -0700
committerPatrick Walton <[email protected]>2011-04-22 12:09:09 -0700
commitc1335510d505ade8d1f2805ebf1a2beb5db8de07 (patch)
tree647eb89ac2477e059fba17bdb76ca050eaab04a9 /src/comp/middle/metadata.rs
parentDispose the module. (diff)
downloadrust-c1335510d505ade8d1f2805ebf1a2beb5db8de07.tar.xz
rust-c1335510d505ade8d1f2805ebf1a2beb5db8de07.zip
rustc: Eliminate the direct use of ty.t.struct
Diffstat (limited to 'src/comp/middle/metadata.rs')
-rw-r--r--src/comp/middle/metadata.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/middle/metadata.rs b/src/comp/middle/metadata.rs
index 4ea6b3e8..0325e32e 100644
--- a/src/comp/middle/metadata.rs
+++ b/src/comp/middle/metadata.rs
@@ -53,7 +53,7 @@ const uint tag_index_table = 0x15u;
type def_str = fn(ast.def_id) -> str;
fn ty_str(@ty.t t, def_str ds) -> str {
- ret sty_str(t.struct, ds);
+ ret sty_str(ty.struct(t), ds);
}
fn mt_str(&ty.mt mt, def_str ds) -> str {