We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4aec22 commit 84503adCopy full SHA for 84503ad
tests/ui/resolve/issue-117936.rs
@@ -0,0 +1,11 @@
1
+#![crate_type = "lib"]
2
+
3
+use super::A; //~ ERROR failed to resolve
4
5
+mod b {
6
+ pub trait A {}
7
+ pub trait B {}
8
+}
9
10
+/// [`A`]
11
+pub use b::*;
tests/ui/resolve/issue-117936.stderr
@@ -0,0 +1,9 @@
+error[E0433]: failed to resolve: there are too many leading `super` keywords
+ --> $DIR/issue-117936.rs:3:5
+ |
+LL | use super::A;
+ | ^^^^^ there are too many leading `super` keywords
+error: aborting due to previous error
+For more information about this error, try `rustc --explain E0433`.
0 commit comments