]>
git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/impl-parts.rs
1 #![feature(optin_builtin_traits)]
3 pub auto trait AnOibit {}
5 pub struct Foo
<T
> { field: T }
7 // @has impl_parts/struct.Foo.html '//*[@class="impl"]//code' \
8 // "impl<T: Clone> !AnOibit for Foo<T> where T: Sync,"
9 // @has impl_parts/trait.AnOibit.html '//*[@class="item-list"]//code' \
10 // "impl<T: Clone> !AnOibit for Foo<T> where T: Sync,"
11 impl<T
: Clone
> !AnOibit
for Foo
<T
> where T
: Sync {}