mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-19 11:43:39 -04:00
10 lines
283 B
Rust
10 lines
283 B
Rust
#![feature(negative_impls)]
|
|
#![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'
|
|
impl !Sync for Foo {}
|