]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/from_over_into.stderr
Auto merge of #87686 - matthiaskrgr:clippy_august_21_perf, r=jackh726
[rust.git] / src / tools / clippy / tests / ui / from_over_into.stderr
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`
8    = help: consider to implement `From<std::string::String>` instead
9
10 error: aborting due to previous error
11