File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
branches/snap-stage3/src/librustc_resolve Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 38a97becdf3e6a6157f6f7ec2d98ade8d8edc193
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 60ec4ab220385be1ad2aef237733d7f38c2196b3
4
+ refs/heads/snap-stage3: ef030555c67988878e1a68743da25b5107bd2787
5
5
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
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