Skip to content

Commit a4bcd47

Browse files
committed
rustc_error_codes: Update expected error in E0453.md
1 parent f4d794e commit a4bcd47

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_error_codes/src/error_codes

1 file changed

+2
-2
lines changed

compiler/rustc_error_codes/src/error_codes/E0453.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Example of erroneous code:
88
99
#[allow(non_snake_case)]
1010
fn main() {
11-
let MyNumber = 2; // error: allow(non_snake_case) overruled by outer
12-
// forbid(non_snake_case)
11+
// error: allow(non_snake_case) incompatible with previous forbid
12+
let MyNumber = 2;
1313
}
1414
```
1515

0 commit comments

Comments
 (0)