summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-48414.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/issue-48414.rs')
-rw-r--r--tests/rustdoc/issue-48414.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-48414.rs b/tests/rustdoc/issue-48414.rs
new file mode 100644
index 000000000..b35743d88
--- /dev/null
+++ b/tests/rustdoc/issue-48414.rs
@@ -0,0 +1,11 @@
+// aux-build:issue-48414.rs
+
+// ICE when resolving paths for a trait that linked to another trait, when both were in an external
+// crate
+
+#![crate_name = "base"]
+
+extern crate issue_48414;
+
+#[doc(inline)]
+pub use issue_48414::{SomeTrait, OtherTrait};