]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/from_over_into.stderr
New upstream version 1.53.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / from_over_into.stderr
CommitLineData
f20569fa
XL
1error: 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 |
4LL | 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
10error: aborting due to previous error
11