11error: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
2- --> $DIR/from_over_into.rs:9 :1
2+ --> $DIR/from_over_into.rs:10 :1
33 |
44LL | impl Into<StringWrapper> for String {
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -13,7 +13,7 @@ LL ~ StringWrapper(val)
1313 |
1414
1515error: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
16- --> $DIR/from_over_into.rs:17 :1
16+ --> $DIR/from_over_into.rs:18 :1
1717 |
1818LL | impl Into<SelfType> for String {
1919 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -26,7 +26,7 @@ LL ~ SelfType(String::new())
2626 |
2727
2828error: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
29- --> $DIR/from_over_into.rs:32 :1
29+ --> $DIR/from_over_into.rs:33 :1
3030 |
3131LL | impl Into<SelfKeywords> for X {
3232 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -41,7 +41,7 @@ LL ~ let _: X = val;
4141 |
4242
4343error: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
44- --> $DIR/from_over_into.rs:44 :1
44+ --> $DIR/from_over_into.rs:45 :1
4545 |
4646LL | impl core::convert::Into<bool> for crate::ExplicitPaths {
4747 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -59,7 +59,7 @@ LL ~ val.0
5959 |
6060
6161error: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
62- --> $DIR/from_over_into.rs:77 :5
62+ --> $DIR/from_over_into.rs:78 :5
6363 |
6464LL | impl<T> Into<FromOverInto<T>> for Vec<T> {
6565 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments