@@ -19,85 +19,85 @@ LL | let v: &Slice = self.return_a_ref_to_struct();
19
19
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20
20
21
21
error: redundant type annotation
22
- --> $DIR/redundant_type_annotations.rs:143 :5
22
+ --> $DIR/redundant_type_annotations.rs:155 :5
23
23
|
24
24
LL | let _return: String = return_a_string();
25
25
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26
26
27
27
error: redundant type annotation
28
- --> $DIR/redundant_type_annotations.rs:145 :5
28
+ --> $DIR/redundant_type_annotations.rs:157 :5
29
29
|
30
30
LL | let _return: Pie = return_a_struct();
31
31
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32
32
33
33
error: redundant type annotation
34
- --> $DIR/redundant_type_annotations.rs:147 :5
34
+ --> $DIR/redundant_type_annotations.rs:159 :5
35
35
|
36
36
LL | let _return: Pizza = return_an_enum();
37
37
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
38
38
39
39
error: redundant type annotation
40
- --> $DIR/redundant_type_annotations.rs:149 :5
40
+ --> $DIR/redundant_type_annotations.rs:161 :5
41
41
|
42
42
LL | let _return: u32 = return_an_int();
43
43
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44
44
45
45
error: redundant type annotation
46
- --> $DIR/redundant_type_annotations.rs:151 :5
46
+ --> $DIR/redundant_type_annotations.rs:163 :5
47
47
|
48
48
LL | let _return: String = String::new();
49
49
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50
50
51
51
error: redundant type annotation
52
- --> $DIR/redundant_type_annotations.rs:153 :5
52
+ --> $DIR/redundant_type_annotations.rs:165 :5
53
53
|
54
54
LL | let new_pie: Pie = Pie::new();
55
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
56
56
57
57
error: redundant type annotation
58
- --> $DIR/redundant_type_annotations.rs:155 :5
58
+ --> $DIR/redundant_type_annotations.rs:167 :5
59
59
|
60
60
LL | let _return: u32 = new_pie.return_an_int();
61
61
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
62
62
63
63
error: redundant type annotation
64
- --> $DIR/redundant_type_annotations.rs:157 :5
64
+ --> $DIR/redundant_type_annotations.rs:169 :5
65
65
|
66
66
LL | let _return: u32 = Pie::associated_return_an_int();
67
67
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
68
68
69
69
error: redundant type annotation
70
- --> $DIR/redundant_type_annotations.rs:159 :5
70
+ --> $DIR/redundant_type_annotations.rs:171 :5
71
71
|
72
72
LL | let _return: String = Pie::associated_return_a_string();
73
73
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74
74
75
75
error: redundant type annotation
76
- --> $DIR/redundant_type_annotations.rs:165 :5
76
+ --> $DIR/redundant_type_annotations.rs:177 :5
77
77
|
78
78
LL | let _var: u32 = u32::MAX;
79
79
| ^^^^^^^^^^^^^^^^^^^^^^^^^
80
80
81
81
error: redundant type annotation
82
- --> $DIR/redundant_type_annotations.rs:167 :5
82
+ --> $DIR/redundant_type_annotations.rs:179 :5
83
83
|
84
84
LL | let _var: u32 = 5_u32;
85
85
| ^^^^^^^^^^^^^^^^^^^^^^
86
86
87
87
error: redundant type annotation
88
- --> $DIR/redundant_type_annotations.rs:169 :5
88
+ --> $DIR/redundant_type_annotations.rs:181 :5
89
89
|
90
90
LL | let _var: &str = "test";
91
91
| ^^^^^^^^^^^^^^^^^^^^^^^^
92
92
93
93
error: redundant type annotation
94
- --> $DIR/redundant_type_annotations.rs:171 :5
94
+ --> $DIR/redundant_type_annotations.rs:183 :5
95
95
|
96
96
LL | let _var: &[u8] = b"test";
97
97
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
98
98
99
99
error: redundant type annotation
100
- --> $DIR/redundant_type_annotations.rs:173 :5
100
+ --> $DIR/redundant_type_annotations.rs:185 :5
101
101
|
102
102
LL | let _var: bool = false;
103
103
| ^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments