2023-10-16 18:12:17 -05:00
|
|
|
// https://github.com/rust-lang/rust/issues/32890
|
2023-10-16 17:41:04 -05:00
|
|
|
#![crate_name="issue_32890"]
|
|
|
|
|
2016-04-16 10:46:52 -05:00
|
|
|
// @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() {}
|
|
|
|
}
|