rust/src/test/rustdoc/negative-impl-sidebar.rs

10 lines
267 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 - '//*[@class="sidebar-title"]/a[@href="#trait-implementations"]' 'Trait Implementations'
2017-11-20 20:50:05 +00:00
// @has - '//*[@class="sidebar-links"]/a' '!Sync'
impl !Sync for Foo {}