]> git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/impl-parts.rs
Update upstream source from tag 'upstream/1.33.0+dfsg1'
[rustc.git] / src / test / rustdoc / impl-parts.rs
1 #![feature(optin_builtin_traits)]
2
3 pub auto trait AnOibit {}
4
5 pub struct Foo<T> { field: T }
6
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 {}