aboutsummaryrefslogtreecommitdiff
path: root/src/comp/util
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2011-04-20 11:23:36 -0700
committerPatrick Walton <[email protected]>2011-04-20 11:23:36 -0700
commit38e842244c33ced2bc248a0b0911b507336829c9 (patch)
treee58ecf52ea5e5914150e935dd42922515eb4e78f /src/comp/util
parentrustc: Introduce preferred type constructors, which will eventually precomput... (diff)
downloadrust-38e842244c33ced2bc248a0b0911b507336829c9.tar.xz
rust-38e842244c33ced2bc248a0b0911b507336829c9.zip
rustc: Remove all uses of plain_ty() and friends from outside of ty.rs
Diffstat (limited to 'src/comp/util')
-rw-r--r--src/comp/util/common.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/util/common.rs b/src/comp/util/common.rs
index af000cb6..ef99a226 100644
--- a/src/comp/util/common.rs
+++ b/src/comp/util/common.rs
@@ -111,7 +111,7 @@ fn field_exprs(vec[ast.field] fields) -> vec [@ast.expr] {
}
fn plain_ann() -> ast.ann {
- ret ast.ann_type(middle.ty.plain_ty(middle.ty.ty_nil),
+ ret ast.ann_type(middle.ty.mk_nil(),
none[vec[@middle.ty.t]], none[@ts_ann]);
}