Path rustdoc test

This commit is contained in:
Niko Matsakis 2015-04-01 16:18:56 -04:00
parent d81e86622c
commit 3d8df31540
2 changed files with 3 additions and 0 deletions

View 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"

View 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;