aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/generic-obj.rs
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-01-26 11:39:48 -0800
committerGraydon Hoare <[email protected]>2011-01-26 11:39:48 -0800
commit11da656402f1495ee7e82dc8b6c5698baa61dfff (patch)
treeefec90a7f69ea906f2a835bd1b71ad975c1b075c /src/test/run-pass/generic-obj.rs
parentTeach typeck to handle obj item names when used as type names, not just const... (diff)
downloadrust-11da656402f1495ee7e82dc8b6c5698baa61dfff.tar.xz
rust-11da656402f1495ee7e82dc8b6c5698baa61dfff.zip
Fix bug in generic-obj.rs testcase.
Diffstat (limited to 'src/test/run-pass/generic-obj.rs')
-rw-r--r--src/test/run-pass/generic-obj.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/generic-obj.rs b/src/test/run-pass/generic-obj.rs
index 5f0479bc..ced9140f 100644
--- a/src/test/run-pass/generic-obj.rs
+++ b/src/test/run-pass/generic-obj.rs
@@ -12,7 +12,7 @@ obj buf[T](tup(T,T,T) data) {
}
fn take(&T t) {}
- fn take2(T t) {}
+ fn take2(&T t) {}
}
fn main() {