1
Fork 0

rustdoc: rename issue-\d+.rs tests to have meaningful names

This commit is contained in:
Michael Howell 2023-11-20 11:50:18 -07:00
parent 46ecc10c69
commit 0f466b06d1
20 changed files with 0 additions and 0 deletions

View 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 {}