@@ -23,43 +23,43 @@ LL | let _: i32 = 0i32.into();
2323 | ^^^^^^^^^^^ help: consider removing `.into()`: `0i32`
2424
2525error: identical conversion
26- --> $DIR/identity_conversion.rs:38 :21
26+ --> $DIR/identity_conversion.rs:49 :21
2727 |
2828LL | let _: String = "foo".to_string().into();
2929 | ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `"foo".to_string()`
3030
3131error: identical conversion
32- --> $DIR/identity_conversion.rs:39 :21
32+ --> $DIR/identity_conversion.rs:50 :21
3333 |
3434LL | let _: String = From::from("foo".to_string());
3535 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `From::from()`: `"foo".to_string()`
3636
3737error: identical conversion
38- --> $DIR/identity_conversion.rs:40 :13
38+ --> $DIR/identity_conversion.rs:51 :13
3939 |
4040LL | let _ = String::from("foo".to_string());
4141 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `"foo".to_string()`
4242
4343error: identical conversion
44- --> $DIR/identity_conversion.rs:41 :13
44+ --> $DIR/identity_conversion.rs:52 :13
4545 |
4646LL | let _ = String::from(format!("A: {:04}", 123));
4747 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `String::from()`: `format!("A: {:04}", 123)`
4848
4949error: identical conversion
50- --> $DIR/identity_conversion.rs:42 :13
50+ --> $DIR/identity_conversion.rs:53 :13
5151 |
5252LL | let _ = "".lines().into_iter();
5353 | ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into_iter()`: `"".lines()`
5454
5555error: identical conversion
56- --> $DIR/identity_conversion.rs:43 :13
56+ --> $DIR/identity_conversion.rs:54 :13
5757 |
5858LL | let _ = vec![1, 2, 3].into_iter().into_iter();
5959 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into_iter()`: `vec![1, 2, 3].into_iter()`
6060
6161error: identical conversion
62- --> $DIR/identity_conversion.rs:44 :21
62+ --> $DIR/identity_conversion.rs:55 :21
6363 |
6464LL | let _: String = format!("Hello {}", "world").into();
6565 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `format!("Hello {}", "world")`
0 commit comments