summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/issues/issue-61592.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-ui/issues/issue-61592.rs')
-rw-r--r--tests/rustdoc-ui/issues/issue-61592.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rustdoc-ui/issues/issue-61592.rs b/tests/rustdoc-ui/issues/issue-61592.rs
new file mode 100644
index 000000000..66772557f
--- /dev/null
+++ b/tests/rustdoc-ui/issues/issue-61592.rs
@@ -0,0 +1,8 @@
+// aux-build:issue-61592.rs
+
+extern crate foo;
+
+#[doc(inline)] //~ ERROR
+pub use foo::Foo as _;
+
+fn main() {}