File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ E0154: r##"
19
19
Imports (`use` statements) are not allowed after non-item statements, such as
20
20
variable declarations and expression statements.
21
21
22
- Wrong example:
22
+ Here is an example that demonstrates the error :
23
23
```
24
24
fn f() {
25
25
// Variable declaration before import
@@ -104,7 +104,7 @@ http://doc.rust-lang.org/reference.html#statements
104
104
E0317 : r##"
105
105
User-defined types or type parameters cannot shadow the primitive types.
106
106
This error indicates you tried to define a type, struct or enum with the same
107
- name as an existing primitive type, and is therefore invalid .
107
+ name as an existing primitive type.
108
108
109
109
See the Types section of the reference for more information about the primitive
110
110
types:
You can’t perform that action at this time.
0 commit comments