aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/drop-parametric-closure-with-bound-box.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/drop-parametric-closure-with-bound-box.rs')
-rw-r--r--src/test/run-pass/drop-parametric-closure-with-bound-box.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/drop-parametric-closure-with-bound-box.rs b/src/test/run-pass/drop-parametric-closure-with-bound-box.rs
index cf1ff750..dcdc4b03 100644
--- a/src/test/run-pass/drop-parametric-closure-with-bound-box.rs
+++ b/src/test/run-pass/drop-parametric-closure-with-bound-box.rs
@@ -1,5 +1,5 @@
-fn f[T](@int i, T t) {}
+fn f[T](@int i, &T t) {}
fn main() {
auto x = bind f[char](@0xdeafbeef, _);
-} \ No newline at end of file
+}