rustc_error_codes: Update expected error in E0453.md
This commit is contained in:
parent
f4d794ea0b
commit
a4bcd479cc
@ -8,8 +8,8 @@ Example of erroneous code:
|
|||||||
|
|
||||||
#[allow(non_snake_case)]
|
#[allow(non_snake_case)]
|
||||||
fn main() {
|
fn main() {
|
||||||
let MyNumber = 2; // error: allow(non_snake_case) overruled by outer
|
// error: allow(non_snake_case) incompatible with previous forbid
|
||||||
// forbid(non_snake_case)
|
let MyNumber = 2;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user