]> git.lizzy.rs Git - rust.git/commitdiff
Path rustdoc test
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 1 Apr 2015 20:18:56 +0000 (16:18 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Wed, 1 Apr 2015 20:18:56 +0000 (16:18 -0400)
src/test/run-make/rustdoc-extern-method/bar.rs
src/test/run-make/rustdoc-extern-method/foo.rs

index 672090c13a23376ef59adf3665d903d6c8b13893..26a05f8490fd191d207d60a90d03fc0e7e3efd3d 100644 (file)
@@ -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"
index fc5f03e8bd36a4abb029c6328fff6c61c64800c6..96a7a8378b792e04d01a0e5837043f455417af05 100644 (file)
@@ -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;