Rollup merge of #148678 - xonx4l:EO412_replacement_with_EO425, r=Kivooeo

Merge E0412 into E0425

This PR merge E0412 into E0425  as both mean the same thing to users.

This fixes https://github.com/rust-lang/rust/issues/148558.
This commit is contained in:
Matthias Krüger
2025-12-02 22:02:30 +01:00
committed by GitHub
202 changed files with 563 additions and 576 deletions
@@ -1,8 +1,8 @@
A used type name is not in scope.
#### Note: this error code is no longer emitted by the compiler.
Erroneous code examples:
```compile_fail,E0412
```compile_fail,E0425
impl Something {} // error: type name `Something` is not in scope
// or:
@@ -42,7 +42,7 @@ module. To fix this, you can follow the suggestion and use File directly or
`use super::File;` which will import the types from the parent namespace. An
example that causes this error is below:
```compile_fail,E0412
```compile_fail,E0425
use std::fs::File;
mod foo {