@@ -19,85 +19,85 @@ LL | let v: &Slice = self.return_a_ref_to_struct();
1919 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2020
2121error: redundant type annotation
22- --> $DIR/redundant_type_annotations.rs:143 :5
22+ --> $DIR/redundant_type_annotations.rs:155 :5
2323 |
2424LL | let _return: String = return_a_string();
2525 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2626
2727error: redundant type annotation
28- --> $DIR/redundant_type_annotations.rs:145 :5
28+ --> $DIR/redundant_type_annotations.rs:157 :5
2929 |
3030LL | let _return: Pie = return_a_struct();
3131 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3232
3333error: redundant type annotation
34- --> $DIR/redundant_type_annotations.rs:147 :5
34+ --> $DIR/redundant_type_annotations.rs:159 :5
3535 |
3636LL | let _return: Pizza = return_an_enum();
3737 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3838
3939error: redundant type annotation
40- --> $DIR/redundant_type_annotations.rs:149 :5
40+ --> $DIR/redundant_type_annotations.rs:161 :5
4141 |
4242LL | let _return: u32 = return_an_int();
4343 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4444
4545error: redundant type annotation
46- --> $DIR/redundant_type_annotations.rs:151 :5
46+ --> $DIR/redundant_type_annotations.rs:163 :5
4747 |
4848LL | let _return: String = String::new();
4949 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5050
5151error: redundant type annotation
52- --> $DIR/redundant_type_annotations.rs:153 :5
52+ --> $DIR/redundant_type_annotations.rs:165 :5
5353 |
5454LL | let new_pie: Pie = Pie::new();
5555 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5656
5757error: redundant type annotation
58- --> $DIR/redundant_type_annotations.rs:155 :5
58+ --> $DIR/redundant_type_annotations.rs:167 :5
5959 |
6060LL | let _return: u32 = new_pie.return_an_int();
6161 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6262
6363error: redundant type annotation
64- --> $DIR/redundant_type_annotations.rs:157 :5
64+ --> $DIR/redundant_type_annotations.rs:169 :5
6565 |
6666LL | let _return: u32 = Pie::associated_return_an_int();
6767 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6868
6969error: redundant type annotation
70- --> $DIR/redundant_type_annotations.rs:159 :5
70+ --> $DIR/redundant_type_annotations.rs:171 :5
7171 |
7272LL | let _return: String = Pie::associated_return_a_string();
7373 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7474
7575error: redundant type annotation
76- --> $DIR/redundant_type_annotations.rs:165 :5
76+ --> $DIR/redundant_type_annotations.rs:177 :5
7777 |
7878LL | let _var: u32 = u32::MAX;
7979 | ^^^^^^^^^^^^^^^^^^^^^^^^^
8080
8181error: redundant type annotation
82- --> $DIR/redundant_type_annotations.rs:167 :5
82+ --> $DIR/redundant_type_annotations.rs:179 :5
8383 |
8484LL | let _var: u32 = 5_u32;
8585 | ^^^^^^^^^^^^^^^^^^^^^^
8686
8787error: redundant type annotation
88- --> $DIR/redundant_type_annotations.rs:169 :5
88+ --> $DIR/redundant_type_annotations.rs:181 :5
8989 |
9090LL | let _var: &str = "test";
9191 | ^^^^^^^^^^^^^^^^^^^^^^^^
9292
9393error: redundant type annotation
94- --> $DIR/redundant_type_annotations.rs:171 :5
94+ --> $DIR/redundant_type_annotations.rs:183 :5
9595 |
9696LL | let _var: &[u8] = b"test";
9797 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
9898
9999error: redundant type annotation
100- --> $DIR/redundant_type_annotations.rs:173 :5
100+ --> $DIR/redundant_type_annotations.rs:185 :5
101101 |
102102LL | let _var: bool = false;
103103 | ^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments