]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/issue-32890.rs
Auto merge of #106646 - Amanieu:ilp32-object, r=Mark-Simulacrum
[rust.git] / tests / rustdoc / issue-32890.rs
1 // @has issue_32890/struct.Foo.html
2 pub struct Foo<T>(T);
3
4 impl Foo<u8> {
5     // @has - '//a[@href="#method.pass"]' 'pass'
6     pub fn pass() {}
7 }
8
9 impl Foo<u16> {
10     // @has - '//a[@href="#method.pass-1"]' 'pass'
11     pub fn pass() {}
12 }
13
14 impl Foo<u32> {
15     // @has - '//a[@href="#method.pass-2"]' 'pass'
16     pub fn pass() {}
17 }