]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/issue-33592.rs
Rollup merge of #68378 - billyrieger:btreemap-remove-entry, r=KodrAus
[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 '//code' 'impl Foo<i32> for Bar'
10 impl Foo<i32> for Bar {}
11
12 // @has foo/trait.Foo.html '//code' 'impl<T> Foo<T> for Baz'
13 impl<T> Foo<T> for Baz {}