rust/tests/rustdoc/synthetic_auto/crate-local.rs
2024-06-24 11:08:41 +02:00

10 lines
293 B
Rust

#![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;