2023-10-16 16:12:17 -07:00
|
|
|
// https://github.com/rust-lang/rust/issues/32890
|
2023-10-16 15:41:04 -07:00
|
|
|
#![crate_name="issue_32890"]
|
|
|
|
|
2024-06-21 14:03:08 +02:00
|
|
|
//@ has issue_32890/struct.Foo.html
|
2016-04-16 11:46:52 -04:00
|
|
|
pub struct Foo<T>(T);
|
|
|
|
|
|
|
|
impl Foo<u8> {
|
2024-06-21 14:03:08 +02:00
|
|
|
//@ has - '//a[@href="#method.pass"]' 'pass'
|
2016-04-16 11:46:52 -04:00
|
|
|
pub fn pass() {}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Foo<u16> {
|
2024-06-21 14:03:08 +02:00
|
|
|
//@ has - '//a[@href="#method.pass-1"]' 'pass'
|
2016-04-16 11:46:52 -04:00
|
|
|
pub fn pass() {}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Foo<u32> {
|
2024-06-21 14:03:08 +02:00
|
|
|
//@ has - '//a[@href="#method.pass-2"]' 'pass'
|
2016-04-16 11:46:52 -04:00
|
|
|
pub fn pass() {}
|
|
|
|
}
|