#![feature(negative_impls)] #![feature(auto_traits)] pub auto trait AnAutoTrait {} pub struct Foo { field: T } // @has impl_parts/struct.Foo.html '//*[@class="impl"]//code' \ // "impl !AnAutoTrait for Foo where T: Sync," // @has impl_parts/trait.AnAutoTrait.html '//*[@class="item-list"]//code' \ // "impl !AnAutoTrait for Foo where T: Sync," impl !AnAutoTrait for Foo where T: Sync {}