Skip to content

Commit b6cb948

Browse files
committed
fixing errors
1 parent 471ccd8 commit b6cb948

27 files changed

+64
-76
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
This error code is no longer emitted by the compiler.
22

3-
Unresolved types are now reported under the unified error code E0425 ("cannot find ... in this scope").
3+
Unresolved types are now reported under the unified error code E0425
4+
("cannot find ... in this scope").
45

56
See the explanation for E0425 for guidance on common causes and fixes.

tests/ui/argument-suggestions/issue-109831.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ LL + f(/* B */, /* B */, B);
4848

4949
error: aborting due to 3 previous errors
5050

51-
Some errors have detailed explanations: E0061, E0425, E0425.
51+
Some errors have detailed explanations: E0061, E0425.
5252
For more information about an error, try `rustc --explain E0061`.

tests/ui/associated-consts/issue-93835.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ LL | type_ascribe!(p, a<p:p<e=6>>);
3939

4040
error: aborting due to 5 previous errors
4141

42-
Some errors have detailed explanations: E0405, E0425, E0425, E0658.
42+
Some errors have detailed explanations: E0405, E0425, E0658.
4343
For more information about an error, try `rustc --explain E0405`.

tests/ui/const-generics/early/const_arg_trivial_macro_expansion-2.stderr

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,4 @@ LL | const _<const x: /* Type */>: A<
3232

3333
error: aborting due to 3 previous errors
3434

35-
Some errors have detailed explanations: E0425, E0425.
36-
For more information about an error, try `rustc --explain E0425`.
35+
For more information about this error, try `rustc --explain E0425`.

tests/ui/const-generics/generic_const_exprs/unevaluated-const-ice-119731.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,5 +129,5 @@ LL | pub const fn v21() -> v18 {
129129

130130
error: aborting due to 14 previous errors; 2 warnings emitted
131131

132-
Some errors have detailed explanations: E0425, E0422, E0425, E0432, E0592.
133-
For more information about an error, try `rustc --explain E0425`.
132+
Some errors have detailed explanations: E0422, E0425, E0432, E0592.
133+
For more information about an error, try `rustc --explain E0422`.

tests/ui/const-generics/parent_generics_of_nested_in_default.stderr

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ LL | impl<const A: i32 = { || [0; B] }> Tr {}
2020

2121
error: aborting due to 3 previous errors
2222

23-
Some errors have detailed explanations: E0425, E0425.
24-
For more information about an error, try `rustc --explain E0425`.
23+
For more information about this error, try `rustc --explain E0425`.

tests/ui/did_you_mean/issue-56028-there-is-an-enum-variant.stderr

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,4 @@ LL + use PutDown::Set;
4040

4141
error: aborting due to 2 previous errors
4242

43-
Some errors have detailed explanations: E0425, E0425.
44-
For more information about an error, try `rustc --explain E0425`.
43+
For more information about this error, try `rustc --explain E0425`.

tests/ui/error-codes/E0412.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0425]: cannot find type `Something` in this scope
2-
--> $DIR/E0425.rs:1:6
2+
--> $DIR/E0412.rs:1:6
33
|
44
LL | impl Something {}
55
| ^^^^^^^^^ not found in this scope

tests/ui/imports/glob-resolve1.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,5 +115,5 @@ LL | type D = isize;
115115

116116
error: aborting due to 8 previous errors
117117

118-
Some errors have detailed explanations: E0425, E0423, E0425.
119-
For more information about an error, try `rustc --explain E0425`.
118+
Some errors have detailed explanations: E0423, E0425.
119+
For more information about an error, try `rustc --explain E0423`.

tests/ui/imports/issue-4366-2.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ LL + use foo::foo;
2828

2929
error: aborting due to 2 previous errors
3030

31-
Some errors have detailed explanations: E0425, E0423.
32-
For more information about an error, try `rustc --explain E0425`.
31+
Some errors have detailed explanations: E0423, E0425.
32+
For more information about an error, try `rustc --explain E0423`.

0 commit comments

Comments
 (0)