blob: d88601d65d38ad349dd2c9bcd29c016c1bb6c011 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// https://github.com/rust-lang/rust/issues/32890
#![crate_name="issue_32890"]
// @has issue_32890/struct.Foo.html
pub struct Foo<T>(T);
impl Foo<u8> {
// @has - '//a[@href="#method.pass"]' 'pass'
pub fn pass() {}
}
impl Foo<u16> {
// @has - '//a[@href="#method.pass-1"]' 'pass'
pub fn pass() {}
}
impl Foo<u32> {
// @has - '//a[@href="#method.pass-2"]' 'pass'
pub fn pass() {}
}
|