]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/issue-97576.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / traits / issue-97576.stderr
1 error[E0277]: the trait bound `String: From<impl ToString>` is not satisfied
2   --> $DIR/issue-97576.rs:8:18
3    |
4 LL |             bar: bar.into(),
5    |                  ^^^ ---- required by a bound introduced by this call
6    |                  |
7    |                  the trait `From<impl ToString>` is not implemented for `String`
8    |
9    = note: required for `impl ToString` to implement `Into<String>`
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0277`.