2021-01-02 09:29:43 -06:00
|
|
|
error: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true
|
|
|
|
--> $DIR/from_over_into.rs:6:1
|
|
|
|
|
|
2021-01-15 03:56:44 -06:00
|
|
|
LL | impl Into<StringWrapper> for String {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-01-02 09:29:43 -06:00
|
|
|
|
|
|
|
|
= note: `-D clippy::from-over-into` implied by `-D warnings`
|
|
|
|
= help: consider to implement `From` instead
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|