about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-04-01 16:18:56 -0400
committerNiko Matsakis <niko@alum.mit.edu>2015-04-01 16:18:56 -0400
commit3d8df315408123f2d4a1ecd4663100dca0045a86 (patch)
tree475479e58d5af9d535361df6c1137399ceaf75ae
parentd81e86622ca6864c6510d1cb072fcbfc6be2ea3d (diff)
downloadrust-3d8df315408123f2d4a1ecd4663100dca0045a86.tar.gz
rust-3d8df315408123f2d4a1ecd4663100dca0045a86.zip
Path rustdoc test
-rw-r--r--src/test/run-make/rustdoc-extern-method/bar.rs2
-rw-r--r--src/test/run-make/rustdoc-extern-method/foo.rs1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/test/run-make/rustdoc-extern-method/bar.rs b/src/test/run-make/rustdoc-extern-method/bar.rs
index 672090c13a2..26a05f8490f 100644
--- a/src/test/run-make/rustdoc-extern-method/bar.rs
+++ b/src/test/run-make/rustdoc-extern-method/bar.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![feature(unboxed_closures)]
+
 extern crate foo;
 
 // @has bar/trait.Foo.html //pre "pub trait Foo"
diff --git a/src/test/run-make/rustdoc-extern-method/foo.rs b/src/test/run-make/rustdoc-extern-method/foo.rs
index fc5f03e8bd3..96a7a8378b7 100644
--- a/src/test/run-make/rustdoc-extern-method/foo.rs
+++ b/src/test/run-make/rustdoc-extern-method/foo.rs
@@ -9,6 +9,7 @@
 // except according to those terms.
 
 #![crate_type="lib"]
+#![feature(unboxed_closures)]
 
 pub trait Foo {
     extern "rust-call" fn foo(&self, _: ()) -> i32;