Skip to content

Commit 5a968d6

Browse files
author
Nick Hamann
committed
---
yaml --- r: 208500 b: refs/heads/snap-stage3 c: d636b5c h: refs/heads/master v: v3
1 parent 87030cd commit 5a968d6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
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: 06aef339f11091f178957350b5159081e7b4534a
4+
refs/heads/snap-stage3: d636b5cf659771d74a5e225b751898f69a35ae9a
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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ module.
100100
An example of this error:
101101
102102
```
103-
use foo::FOO; // error, do `use foo::FOO as BAR` instead
103+
use bar::foo; // error, do `use bar::foo as baz` instead
104104
105-
fn FOO() {}
105+
fn foo() {}
106106
107-
mod foo {
108-
pub const FOO: bool = true;
107+
mod bar {
108+
pub fn foo() {}
109109
}
110110
111111
fn main() {}
@@ -121,7 +121,7 @@ An example of this error:
121121
```
122122
use foo::Bar; // error
123123
124-
struct Bar;
124+
type Bar = u32;
125125
126126
mod foo {
127127
pub mod Bar { }

0 commit comments

Comments
 (0)