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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
283 B
Rust
Raw Normal View History

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