We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 931fd85 commit dc04b08Copy full SHA for dc04b08
tests/rustdoc/issue-25001.rs
@@ -21,14 +21,14 @@ impl Foo<u32> {
21
}
22
23
impl<T> Bar for Foo<T> {
24
- // @has - '//*[@id="associatedtype.Item"]//h4[@class="code-header"]' 'type Item = T'
+ // @has - '//*[@id="associatedtype.Item-1"]//h4[@class="code-header"]' 'type Item = T'
25
type Item=T;
26
27
// @has - '//*[@id="method.quux"]//h4[@class="code-header"]' 'fn quux(self)'
28
fn quux(self) {}
29
30
impl<'a, T> Bar for &'a Foo<T> {
31
- // @has - '//*[@id="associatedtype.Item-1"]//h4[@class="code-header"]' "type Item = &'a T"
+ // @has - '//*[@id="associatedtype.Item"]//h4[@class="code-header"]' "type Item = &'a T"
32
type Item=&'a T;
33
34
// @has - '//*[@id="method.quux-1"]//h4[@class="code-header"]' 'fn quux(self)'
0 commit comments