Skip to content

Commit 42a9210

Browse files
committed
Document no-longer emitted E0430/E0431
1 parent 3edfefd commit 42a9210

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

compiler/rustc_error_codes/src/error_codes/E0430.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
#### Note: this error code is no longer emitted by the compiler.
2+
13
The `self` import appears more than once in the list.
24

35
Erroneous code example:
46

5-
```compile_fail,E0430
7+
```ignore (error is no longer emitted)
68
use something::{self, self}; // error: `self` import can only appear once in
79
// the list
810
```

compiler/rustc_error_codes/src/error_codes/E0431.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
#### Note: this error code is no longer emitted by the compiler.
2+
13
An invalid `self` import was made.
24

35
Erroneous code example:
46

5-
```compile_fail,E0431
7+
```ignore (error is no longer emitted)
68
use {self}; // error: `self` import can only appear in an import list with a
79
// non-empty prefix
810
```

0 commit comments

Comments
 (0)