summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/negative-impl-sidebar.rs
blob: 4af6d0084925ff4c018ca8eebe4f086f25b32075 (plain)
1
2
3
4
5
6
7
8
9
#![feature(negative_impls)]
#![crate_name = "foo"]

pub struct Foo;

// @has foo/struct.Foo.html
// @has - '//div[@class="sidebar-elems"]//h3/a[@href="#trait-implementations"]' 'Trait Implementations'
// @has - '//*[@class="sidebar-elems"]//section//a' '!Sync'
impl !Sync for Foo {}