Add tests for basic intra-doc links
This commit is contained in:
parent
24c3d85e66
commit
9542e23a7d
2 changed files with 11 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
#![crate_name = "a"]
|
||||
pub struct Foo;
|
||||
|
||||
/// Link to [Foo]
|
||||
pub struct Bar;
|
||||
6
src/test/rustdoc/intra-doc-crate/basic.rs
Normal file
6
src/test/rustdoc/intra-doc-crate/basic.rs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
// aux-build:intra-doc-basic.rs
|
||||
// build-aux-docs
|
||||
extern crate a;
|
||||
|
||||
// @has 'basic/struct.Bar.html' '//a[@href="../a/struct.Foo.html"]' 'Foo'
|
||||
pub use a::Bar;
|
||||
Loading…
Add table
Add a link
Reference in a new issue