1 // This test ensures that the same implementation doesn't show more than once.
2 // It's a regression test for https://github.com/rust-lang/rust/issues/96036.
6 // We check that there is only one "impl<T> Something<Whatever> for T" listed in the
7 // blanket implementations.
9 // @has 'foo/struct.Whatever.html'
10 // @count - '//*[@id="blanket-implementations-list"]/section[@class="impl has-srclink"]' 1
12 pub trait Something<T> { }
14 impl<T> Something<Whatever> for T {}