1
1
error: 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
3
3
|
4
4
LL | impl Into<StringWrapper> for String {
5
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -13,7 +13,7 @@ LL ~ StringWrapper(val)
13
13
|
14
14
15
15
error: 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
17
17
|
18
18
LL | impl Into<SelfType> for String {
19
19
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -26,7 +26,7 @@ LL ~ SelfType(String::new())
26
26
|
27
27
28
28
error: 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
30
30
|
31
31
LL | impl Into<SelfKeywords> for X {
32
32
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -41,7 +41,7 @@ LL ~ let _: X = val;
41
41
|
42
42
43
43
error: 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
45
45
|
46
46
LL | impl core::convert::Into<bool> for crate::ExplicitPaths {
47
47
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -59,7 +59,7 @@ LL ~ val.0
59
59
|
60
60
61
61
error: 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
63
63
|
64
64
LL | impl<T> Into<FromOverInto<T>> for Vec<T> {
65
65
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments