summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/synthetic_auto/crate-local.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/synthetic_auto/crate-local.rs')
-rw-r--r--src/test/rustdoc/synthetic_auto/crate-local.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/rustdoc/synthetic_auto/crate-local.rs b/src/test/rustdoc/synthetic_auto/crate-local.rs
new file mode 100644
index 000000000..58b787dfa
--- /dev/null
+++ b/src/test/rustdoc/synthetic_auto/crate-local.rs
@@ -0,0 +1,9 @@
+#![feature(auto_traits)]
+
+pub auto trait Banana {}
+
+// @has crate_local/struct.Peach.html
+// @has - '//h3[@class="code-header in-band"]' 'impl Banana for Peach'
+// @has - '//h3[@class="code-header in-band"]' 'impl Send for Peach'
+// @has - '//h3[@class="code-header in-band"]' 'impl Sync for Peach'
+pub struct Peach;