2020-12-21 10:15:05 -06:00
|
|
|
error: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
|
2020-12-19 08:49:42 -06:00
|
|
|
--> $DIR/from_over_into.rs:6:1
|
|
|
|
|
|
2021-01-07 17:37:57 -06:00
|
|
|
LL | impl Into<StringWrapper> for String {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-12-19 08:49:42 -06:00
|
|
|
|
|
|
|
|
= note: `-D clippy::from-over-into` implied by `-D warnings`
|
2020-12-20 13:10:00 -06:00
|
|
|
= help: consider to implement `From` instead
|
2020-12-19 08:49:42 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|