summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/auxiliary
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc/auxiliary')
-rw-r--r--src/test/rustdoc/auxiliary/incoherent-impl-types.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/rustdoc/auxiliary/incoherent-impl-types.rs b/src/test/rustdoc/auxiliary/incoherent-impl-types.rs
new file mode 100644
index 000000000..fc51e42e5
--- /dev/null
+++ b/src/test/rustdoc/auxiliary/incoherent-impl-types.rs
@@ -0,0 +1,7 @@
+#![feature(rustc_attrs)]
+
+#[rustc_has_incoherent_inherent_impls]
+pub trait FooTrait {}
+
+#[rustc_has_incoherent_inherent_impls]
+pub struct FooStruct;