Skip to content

Commit cccd00f

Browse files
committed
---
yaml --- r: 210658 b: refs/heads/try c: ef03055 h: refs/heads/master v: v3
1 parent 4db611b commit cccd00f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: 60ec4ab220385be1ad2aef237733d7f38c2196b3
5+
refs/heads/try: ef030555c67988878e1a68743da25b5107bd2787
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/librustc_resolve/diagnostics.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ E0154: r##"
1919
Imports (`use` statements) are not allowed after non-item statements, such as
2020
variable declarations and expression statements.
2121
22-
Wrong example:
22+
Here is an example that demonstrates the error:
2323
```
2424
fn f() {
2525
// Variable declaration before import
@@ -104,7 +104,7 @@ http://doc.rust-lang.org/reference.html#statements
104104
E0317: r##"
105105
User-defined types or type parameters cannot shadow the primitive types.
106106
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.
108108
109109
See the Types section of the reference for more information about the primitive
110110
types:

0 commit comments

Comments
 (0)