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
commit 270e88d577

View file

@ -1,4 +1,4 @@
error[E0412]: cannot find type `PhantomData` in this scope
error[E0425]: cannot find type `PhantomData` in this scope
--> tests/ui/crashes/ice-6252.rs:9:9
|
LL | _n: PhantomData,
@ -9,7 +9,7 @@ help: consider importing this struct
LL + use std::marker::PhantomData;
|
error[E0412]: cannot find type `VAL` in this scope
error[E0425]: cannot find type `VAL` in this scope
--> tests/ui/crashes/ice-6252.rs:12:63
|
LL | impl<N, M> TypeVal<usize> for Multiply<N, M> where N: TypeVal<VAL> {}
@ -31,5 +31,5 @@ LL | impl<N, M> TypeVal<usize> for Multiply<N, M> where N: TypeVal<VAL> {}
error: aborting due to 3 previous errors
Some errors have detailed explanations: E0046, E0412.
Some errors have detailed explanations: E0046, E0425.
For more information about an error, try `rustc --explain E0046`.