summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/from_over_into.stderr
blob: 2951e6bdac430bde13ea1a58bdfad95fb14a0a2f (plain)
1
2
3
4
5
6
7
8
9
10
11
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
   |
LL | impl Into<StringWrapper> for String {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `-D clippy::from-over-into` implied by `-D warnings`
   = help: consider to implement `From<std::string::String>` instead

error: aborting due to previous error