2015-07-19 22:14:56 -04:00
|
|
|
#![feature(optin_builtin_traits)]
|
|
|
|
|
2017-12-03 10:56:53 -02:00
|
|
|
pub auto trait AnOibit {}
|
2015-07-19 22:14:56 -04:00
|
|
|
|
|
|
|
pub struct Foo<T> { field: T }
|
|
|
|
|
|
|
|
// @has impl_parts/struct.Foo.html '//*[@class="impl"]//code' \
|
2017-04-06 14:19:45 -05:00
|
|
|
// "impl<T: Clone> !AnOibit for Foo<T> where T: Sync,"
|
2015-07-19 22:14:56 -04:00
|
|
|
// @has impl_parts/trait.AnOibit.html '//*[@class="item-list"]//code' \
|
2017-04-06 14:19:45 -05:00
|
|
|
// "impl<T: Clone> !AnOibit for Foo<T> where T: Sync,"
|
2015-07-19 22:14:56 -04:00
|
|
|
impl<T: Clone> !AnOibit for Foo<T> where T: Sync {}
|