Skip to content

Commit 6fd6509

Browse files
committed
cleanup
1 parent b6cb948 commit 6fd6509

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_error_codes/src/error_codes/E0412.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This error code is no longer emitted by the compiler.
1+
#### Note: this error code is no longer emitted by the compiler.
22

33
Unresolved types are now reported under the unified error code E0425
44
("cannot find ... in this scope").

compiler/rustc_resolve/src/late.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4350,7 +4350,7 @@ impl<'a, 'ast, 'ra, 'tcx> LateResolutionVisitor<'a, 'ast, 'ra, 'tcx> {
43504350
//
43514351
// Thus (since we're in expression-position at this point), not to
43524352
// confuse the user, we want to keep the *message* from E0433 (so
4353-
// `parent_err`), but we want *hints* from the unified E0425 (so `err`).
4353+
// `parent_err`), but we want *hints* from E0425 (so `err`).
43544354
//
43554355
// And that's what happens below - we're just mixing both messages
43564356
// into a single one.

0 commit comments

Comments
 (0)