Auto merge of #51605 - ericfindlay:master, r=kennytm
Fixed minor error in Compiler Error Index, E0603.
This commit is contained in:
commit
c45ae9ea3a
@ -1581,7 +1581,7 @@ mod SomeModule {
|
||||
// `SomeModule` module.
|
||||
}
|
||||
|
||||
println!("const value: {}", SomeModule::PRIVATE); // error: constant `CONSTANT`
|
||||
println!("const value: {}", SomeModule::PRIVATE); // error: constant `PRIVATE`
|
||||
// is private
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user