]> git.proxmox.com Git - rustc.git/blob - 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
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