about summary refs log tree commit diff
path: root/src/test/rustdoc/negative-impl-sidebar.rs
blob: d63ab346045eec60f1c8d7849037ac33de9fbd98 (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 - '//*[@class="sidebar-title"]/a[@href="#trait-implementations"]' 'Trait Implementations'
// @has - '//*[@class="sidebar-links"]/a' '!Sync'
impl !Sync for Foo {}