summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/inherent-assoc-consts-36031.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-ui/inherent-assoc-consts-36031.rs')
-rw-r--r--tests/rustdoc-ui/inherent-assoc-consts-36031.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/inherent-assoc-consts-36031.rs b/tests/rustdoc-ui/inherent-assoc-consts-36031.rs
new file mode 100644
index 000000000..755fc1cfd
--- /dev/null
+++ b/tests/rustdoc-ui/inherent-assoc-consts-36031.rs
@@ -0,0 +1,12 @@
+// aux-build:issue-36031.rs
+// check-pass
+// build-aux-docs
+// ignore-cross-compile
+
+// https://github.com/rust-lang/rust/issues/36031
+
+#![crate_name = "foo"]
+
+extern crate issue_36031;
+
+pub use issue_36031::Foo;