File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
branches/try/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 2
2
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5
- refs/heads/try: 60ec4ab220385be1ad2aef237733d7f38c2196b3
5
+ refs/heads/try: ef030555c67988878e1a68743da25b5107bd2787
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
8
8
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
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