rust/tests/rustdoc/negative-impl-sidebar.rs

10 lines
283 B
Rust
Raw Normal View History

#![feature(negative_impls)]
2017-11-20 14:50:05 -06:00
#![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'
2017-11-20 14:50:05 -06:00
impl !Sync for Foo {}