mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
10 lines
293 B
Rust
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;
|