summaryrefslogtreecommitdiffstats
path: root/src/test/ui/traits/issue-97576.stderr
blob: bdee073d6e39a06c82e3db282f6108dbaaf954b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0277]: the trait bound `String: From<impl ToString>` is not satisfied
  --> $DIR/issue-97576.rs:8:22
   |
LL |             bar: bar.into(),
   |                      ^^^^ the trait `From<impl ToString>` is not implemented for `String`
   |
   = note: required because of the requirements on the impl of `Into<String>` for `impl ToString`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.