We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06aef33 commit d636b5cCopy full SHA for d636b5c
src/librustc_resolve/diagnostics.rs
@@ -100,12 +100,12 @@ module.
100
An example of this error:
101
102
```
103
-use foo::FOO; // error, do `use foo::FOO as BAR` instead
+use bar::foo; // error, do `use bar::foo as baz` instead
104
105
-fn FOO() {}
+fn foo() {}
106
107
-mod foo {
108
- pub const FOO: bool = true;
+mod bar {
+ pub fn foo() {}
109
}
110
111
fn main() {}
@@ -121,7 +121,7 @@ An example of this error:
121
122
use foo::Bar; // error
123
124
-struct Bar;
+type Bar = u32;
125
126
mod foo {
127
pub mod Bar { }
0 commit comments