Skip to content

Commit eee16cc

Browse files
committed
cleanup
1 parent ebe1b47 commit eee16cc

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
@@ -4370,7 +4370,7 @@ impl<'a, 'ast, 'ra, 'tcx> LateResolutionVisitor<'a, 'ast, 'ra, 'tcx> {
43704370
//
43714371
// Thus (since we're in expression-position at this point), not to
43724372
// confuse the user, we want to keep the *message* from E0433 (so
4373-
// `parent_err`), but we want *hints* from the unified E0425 (so `err`).
4373+
// `parent_err`), but we want *hints* from E0425 (so `err`).
43744374
//
43754375
// And that's what happens below - we're just mixing both messages
43764376
// into a single one.

0 commit comments

Comments
 (0)