Skip to content

Commit 3c26775

Browse files
author
Nick Hamann
committed
---
yaml --- r: 205294 b: refs/heads/tmp c: d636b5c h: refs/heads/master v: v3
1 parent c0d4162 commit 3c26775

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
@@ -32,7 +32,7 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3232
refs/heads/beta: a59de37e99060162a2674e3ff45409ac73595c0e
3333
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3434
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
35-
refs/heads/tmp: 06aef339f11091f178957350b5159081e7b4534a
35+
refs/heads/tmp: d636b5cf659771d74a5e225b751898f69a35ae9a
3636
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3737
refs/tags/homu-tmp: c2b30b86df6b34ba19e87e63402e43d9e81a64fb
3838
refs/heads/gate: 97c84447b65164731087ea82685580cc81424412

branches/tmp/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)