summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/issue-117920.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/resolve/issue-117920.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/resolve/issue-117920.rs b/tests/ui/resolve/issue-117920.rs
new file mode 100644
index 000000000..928f194c5
--- /dev/null
+++ b/tests/ui/resolve/issue-117920.rs
@@ -0,0 +1,11 @@
+#![crate_type = "lib"]
+
+use super::A; //~ ERROR failed to resolve
+
+mod b {
+ pub trait A {}
+ pub trait B {}
+}
+
+/// [`A`]
+pub use b::*;