rust/tests/rustdoc/synthetic_auto/crate-local.rs

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

10 lines
293 B
Rust
Raw Normal View History

#![feature(auto_traits)]
pub auto trait Banana {}
// @has crate_local/struct.Peach.html
// @has - '//h3[@class="code-header"]' 'impl Banana for Peach'
// @has - '//h3[@class="code-header"]' 'impl Send for Peach'
// @has - '//h3[@class="code-header"]' 'impl Sync for Peach'
pub struct Peach;