Skip to content

Commit f4860d5

Browse files
committed
---
yaml --- r: 208372 b: refs/heads/snap-stage3 c: ef03055 h: refs/heads/master v: v3
1 parent 6a4f603 commit f4860d5

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
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 38a97becdf3e6a6157f6f7ec2d98ade8d8edc193
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 60ec4ab220385be1ad2aef237733d7f38c2196b3
4+
refs/heads/snap-stage3: ef030555c67988878e1a68743da25b5107bd2787
55
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/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)