summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-100241.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/issue-100241.rs')
-rw-r--r--tests/rustdoc/issue-100241.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/rustdoc/issue-100241.rs b/tests/rustdoc/issue-100241.rs
new file mode 100644
index 000000000..9e9cba13a
--- /dev/null
+++ b/tests/rustdoc/issue-100241.rs
@@ -0,0 +1,12 @@
+//! See [`S`].
+
+// Check that this isn't an ICE
+// should-fail
+
+mod foo {
+ pub use inner::S;
+ //~^ ERROR unresolved imports `inner`, `foo::S`
+}
+
+use foo::*;
+use foo::S;