We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4aec22 commit bd4d695Copy full SHA for bd4d695
tests/ui/resolve/issue-117936.rs
@@ -0,0 +1,13 @@
1
+// edition: 2021
2
+// compile-flags: --crate-type=lib
3
+#![crate_type = "lib"]
4
+
5
+use super::A; //~ ERROR failed to resolve
6
7
+mod b {
8
+ pub trait A {}
9
+ pub trait B {}
10
+}
11
12
+/// [`A`]
13
+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:5: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