Skip to content

Commit c45ae9e

Browse files
committed
Auto merge of #51605 - ericfindlay:master, r=kennytm
Fixed minor error in Compiler Error Index, E0603.
2 parents 4f29363 + 1eff1d4 commit c45ae9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_resolve/diagnostics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,7 @@ mod SomeModule {
15811581
// `SomeModule` module.
15821582
}
15831583
1584-
println!("const value: {}", SomeModule::PRIVATE); // error: constant `CONSTANT`
1584+
println!("const value: {}", SomeModule::PRIVATE); // error: constant `PRIVATE`
15851585
// is private
15861586
```
15871587

0 commit comments

Comments
 (0)