]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/issue-33592.rs
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[rust.git] / tests / 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"]' 'impl Foo<i32> for Bar'
10 impl Foo<i32> for Bar {}
11
12 // @has foo/trait.Foo.html '//h3[@class="code-header"]' 'impl<T> Foo<T> for Baz'
13 impl<T> Foo<T> for Baz {}