diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-04-01 16:18:56 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-04-01 16:18:56 -0400 |
| commit | 3d8df315408123f2d4a1ecd4663100dca0045a86 (patch) | |
| tree | 475479e58d5af9d535361df6c1137399ceaf75ae | |
| parent | d81e86622ca6864c6510d1cb072fcbfc6be2ea3d (diff) | |
| download | rust-3d8df315408123f2d4a1ecd4663100dca0045a86.tar.gz rust-3d8df315408123f2d4a1ecd4663100dca0045a86.zip | |
Path rustdoc test
| -rw-r--r-- | src/test/run-make/rustdoc-extern-method/bar.rs | 2 | ||||
| -rw-r--r-- | src/test/run-make/rustdoc-extern-method/foo.rs | 1 |
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; |
