Skip to content

Commit 768f9e3

Browse files
committed
fix docs
1 parent 187af7f commit 768f9e3

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/E0412.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Erroneous code examples:
44

5-
```compile_fail,E0412
5+
```compile_fail,E0425
66
impl Something {} // error: type name `Something` is not in scope
77
88
// or:
@@ -42,7 +42,7 @@ module. To fix this, you can follow the suggestion and use File directly or
4242
`use super::File;` which will import the types from the parent namespace. An
4343
example that causes this error is below:
4444

45-
```compile_fail,E0412
45+
```compile_fail,E0425
4646
use std::fs::File;
4747
4848
mod foo {

0 commit comments

Comments
 (0)