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)]
|
||||
fn main() {
|
||||
let MyNumber = 2; // error: allow(non_snake_case) overruled by outer
|
||||
// forbid(non_snake_case)
|
||||
// error: allow(non_snake_case) incompatible with previous forbid
|
||||
let MyNumber = 2;
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user