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

10 lines
265 B
Rust
Raw Normal View History

2017-11-20 20:50:05 +00:00
#![feature(optin_builtin_traits)]
#![crate_name = "foo"]
pub struct Foo;
// @has foo/struct.Foo.html
// @has - '//*[@class="sidebar-title"][@href="#implementations"]' 'Trait Implementations'
// @has - '//*[@class="sidebar-links"]/a' '!Sync'
impl !Sync for Foo {}