add test for pub extern crate
This commit is contained in:
parent
3f03297956
commit
ca47808479
|
@ -0,0 +1,2 @@
|
|||
#![crate_name = "inner"]
|
||||
pub struct SomeStruct;
|
|
@ -0,0 +1,9 @@
|
|||
// aux-build:pub-extern-crate.rs
|
||||
|
||||
// @has pub_extern_crate/index.html
|
||||
// @!has - '//code' 'pub extern crate inner'
|
||||
// @has - '//a/@href' 'inner/index.html'
|
||||
// @has pub_extern_crate/inner/index.html
|
||||
// @has pub_extern_crate/inner/struct.SomeStruct.html
|
||||
#[doc(inline)]
|
||||
pub extern crate inner;
|
Loading…
Reference in New Issue