1
1
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
3
3
|
4
4
LL | let (r, alone_in_path, b): (f32, f32, f32) = (e.clone(), e.clone());
5
5
| ^ not found in this scope
6
6
7
7
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
9
9
|
10
10
LL | let (r, alone_in_path, b): (f32, f32, f32) = (e.clone(), e.clone());
11
11
| ^ not found in this scope
12
12
13
13
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
15
15
|
16
16
LL | let _ = RGB { r, g, b };
17
17
| ^ help: a local variable with a similar name exists: `b`
18
18
19
19
error[E0308]: mismatched types
20
- --> $DIR/issue-114423.rs:7:50
20
+ --> $DIR/issue-114423-ice-regression-in-suggestion .rs:7:50
21
21
|
22
22
LL | let (r, alone_in_path, b): (f32, f32, f32) = (e.clone(), e.clone());
23
23
| --------------- ^^^^^^^^^^^^^^^^^^^^^^ 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());
28
28
found tuple `(f32, f32)`
29
29
30
30
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
32
32
|
33
33
LL | let _ = RGB { r, g, b };
34
34
| ^ `RGB` does not have this field
35
35
|
36
36
= note: all struct fields are already assigned
37
37
38
38
error[E0308]: mismatched types
39
- --> $DIR/issue-114423.rs:11:25
39
+ --> $DIR/issue-114423-ice-regression-in-suggestion .rs:11:25
40
40
|
41
41
LL | let _ = RGB { r, g, b };
42
42
| ^ expected `f64`, found `f32`
0 commit comments