]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/synthetic_auto/crate-local.rs
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / rustdoc / synthetic_auto / crate-local.rs
1 #![feature(auto_traits)]
2
3 pub auto trait Banana {}
4
5 // @has crate_local/struct.Peach.html
6 // @has - '//h3[@class="code-header"]' 'impl Banana for Peach'
7 // @has - '//h3[@class="code-header"]' 'impl Send for Peach'
8 // @has - '//h3[@class="code-header"]' 'impl Sync for Peach'
9 pub struct Peach;