]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
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:6:1 | |
3 | | | |
4 | LL | impl Into<StringWrapper> for String { | |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
6 | | | |
7 | = note: `-D clippy::from-over-into` implied by `-D warnings` | |
cdc7bbd5 | 8 | = help: consider to implement `From<std::string::String>` instead |
f20569fa XL |
9 | |
10 | error: aborting due to previous error | |
11 |