rustdoc: rename issue-\d+.rs
tests to have meaningful names
This commit is contained in:
parent
46ecc10c69
commit
0f466b06d1
20 changed files with 0 additions and 0 deletions
19
tests/rustdoc/src-links-implementor-43893.rs
Normal file
19
tests/rustdoc/src-links-implementor-43893.rs
Normal file
|
@ -0,0 +1,19 @@
|
|||
// ignore-cross-compile
|
||||
|
||||
#![crate_name = "foo"]
|
||||
|
||||
pub trait SomeTrait {}
|
||||
pub struct SomeStruct;
|
||||
|
||||
// @has foo/trait.SomeTrait.html '//a/@href' '../src/foo/issue-43893.rs.html#9'
|
||||
impl SomeTrait for usize {}
|
||||
|
||||
// @has foo/trait.SomeTrait.html '//a/@href' '../src/foo/issue-43893.rs.html#12-14'
|
||||
impl SomeTrait for SomeStruct {
|
||||
// deliberately multi-line impl
|
||||
}
|
||||
|
||||
pub trait AnotherTrait {}
|
||||
|
||||
// @has foo/trait.AnotherTrait.html '//a/@href' '../src/foo/issue-43893.rs.html#19'
|
||||
impl<T> AnotherTrait for T {}
|
Loading…
Add table
Add a link
Reference in a new issue