]>
Commit | Line | Data |
---|---|---|
ea8adc8c XL |
1 | // ignore-cross-compile |
2 | ||
3 | #![crate_name = "foo"] | |
4 | ||
5 | pub trait SomeTrait {} | |
6 | pub struct SomeStruct; | |
7 | ||
0731742a | 8 | // @has foo/trait.SomeTrait.html '//a/@href' '../src/foo/issue-43893.rs.html#9' |
ea8adc8c | 9 | impl SomeTrait for usize {} |
a7813a04 | 10 | |
0731742a | 11 | // @has foo/trait.SomeTrait.html '//a/@href' '../src/foo/issue-43893.rs.html#12-14' |
ea8adc8c XL |
12 | impl SomeTrait for SomeStruct { |
13 | // deliberately multi-line impl | |
54a0048b | 14 | } |
2c00a5a8 XL |
15 | |
16 | pub trait AnotherTrait {} | |
17 | ||
0731742a | 18 | // @has foo/trait.AnotherTrait.html '//a/@href' '../src/foo/issue-43893.rs.html#19' |
2c00a5a8 | 19 | impl<T> AnotherTrait for T {} |