]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/issue-33592.rs
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[rust.git] / src / test / rustdoc / issue-33592.rs
1 #![crate_name = "foo"]
2
3 pub trait Foo<T> {}
4
5 pub struct Bar;
6
7 pub struct Baz;
8
9 // @has foo/trait.Foo.html '//h3[@class="code-header in-band"]' 'impl Foo<i32> for Bar'
10 impl Foo<i32> for Bar {}
11
12 // @has foo/trait.Foo.html '//h3[@class="code-header in-band"]' 'impl<T> Foo<T> for Baz'
13 impl<T> Foo<T> for Baz {}