Skip to content

Commit 3222084

Browse files
Rollup merge of rust-lang#114491 - sebastiantoh:add-context-to-issue-114423-test-names, r=compiler-errors
Rename issue rust-lang#114423 test files to include context Addresses feedback given in rust-lang#114461 (comment) r? `@estebank`
2 parents c023196 + 5b8f921 commit 3222084

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Diff for: tests/ui/typeck/issue-114423.stderr renamed to tests/ui/typeck/issue-114423-ice-regression-in-suggestion.stderr

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
error[E0425]: cannot find value `e` in this scope
2-
--> $DIR/issue-114423.rs:7:51
2+
--> $DIR/issue-114423-ice-regression-in-suggestion.rs:7:51
33
|
44
LL | let (r, alone_in_path, b): (f32, f32, f32) = (e.clone(), e.clone());
55
| ^ not found in this scope
66

77
error[E0425]: cannot find value `e` in this scope
8-
--> $DIR/issue-114423.rs:7:62
8+
--> $DIR/issue-114423-ice-regression-in-suggestion.rs:7:62
99
|
1010
LL | let (r, alone_in_path, b): (f32, f32, f32) = (e.clone(), e.clone());
1111
| ^ not found in this scope
1212

1313
error[E0425]: cannot find value `g` in this scope
14-
--> $DIR/issue-114423.rs:11:22
14+
--> $DIR/issue-114423-ice-regression-in-suggestion.rs:11:22
1515
|
1616
LL | let _ = RGB { r, g, b };
1717
| ^ help: a local variable with a similar name exists: `b`
1818

1919
error[E0308]: mismatched types
20-
--> $DIR/issue-114423.rs:7:50
20+
--> $DIR/issue-114423-ice-regression-in-suggestion.rs:7:50
2121
|
2222
LL | let (r, alone_in_path, b): (f32, f32, f32) = (e.clone(), e.clone());
2323
| --------------- ^^^^^^^^^^^^^^^^^^^^^^ expected a tuple with 3 elements, found one with 2 elements
@@ -28,15 +28,15 @@ LL | let (r, alone_in_path, b): (f32, f32, f32) = (e.clone(), e.clone());
2828
found tuple `(f32, f32)`
2929

3030
error[E0560]: struct `RGB` has no field named `r`
31-
--> $DIR/issue-114423.rs:11:19
31+
--> $DIR/issue-114423-ice-regression-in-suggestion.rs:11:19
3232
|
3333
LL | let _ = RGB { r, g, b };
3434
| ^ `RGB` does not have this field
3535
|
3636
= note: all struct fields are already assigned
3737

3838
error[E0308]: mismatched types
39-
--> $DIR/issue-114423.rs:11:25
39+
--> $DIR/issue-114423-ice-regression-in-suggestion.rs:11:25
4040
|
4141
LL | let _ = RGB { r, g, b };
4242
| ^ expected `f64`, found `f32`

0 commit comments

Comments
 (0)