summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/synthetic_auto/crate-local.rs
blob: ed01f63f998b96f4113a916ea71be12c1146172a (plain)
1
2
3
4
5
6
7
8
9
#![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;