Merge E0412 into E0425

This commit is contained in:
xonx4l 2025-11-08 00:11:35 +05:30 committed by xonx
parent 9b82a4fffe
commit 4b000cfacd
202 changed files with 563 additions and 576 deletions

View file

@ -10,7 +10,7 @@ error[E0405]: cannot find trait `UnknownBound` in this scope
LL | pub fn f<B: UnknownBound>(a: UnknownType, b: B) {
| ^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `UnknownType` in this scope
error[E0425]: cannot find type `UnknownType` in this scope
--> $DIR/impl-fn-nesting.rs:11:30
|
LL | pub fn f<B: UnknownBound>(a: UnknownType, b: B) {
@ -34,7 +34,7 @@ error[E0405]: cannot find trait `UnknownBound` in this scope
LL | impl<T: UnknownBound> UnknownTrait for T {}
| ^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `UnknownType` in this scope
error[E0425]: cannot find type `UnknownType` in this scope
--> $DIR/impl-fn-nesting.rs:18:25
|
LL | impl ValidTrait for UnknownType {}
@ -46,13 +46,13 @@ error[E0405]: cannot find trait `UnknownBound` in this scope
LL | impl ValidTrait for ValidType where ValidTrait: UnknownBound {}
| ^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `UnknownType` in this scope
error[E0425]: cannot find type `UnknownType` in this scope
--> $DIR/impl-fn-nesting.rs:25:21
|
LL | type Item = UnknownType;
| ^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `UnknownType` in this scope
error[E0425]: cannot find type `UnknownType` in this scope
--> $DIR/impl-fn-nesting.rs:44:37
|
LL | pub fn doubly_nested(c: UnknownType) {
@ -60,5 +60,5 @@ LL | pub fn doubly_nested(c: UnknownType) {
error: aborting due to 10 previous errors
Some errors have detailed explanations: E0405, E0412.
Some errors have detailed explanations: E0405, E0425.
For more information about an error, try `rustc --explain E0405`.