diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/traits/issue-97576.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/test/ui/traits/issue-97576.stderr b/src/test/ui/traits/issue-97576.stderr new file mode 100644 index 000000000..bdee073d6 --- /dev/null +++ b/src/test/ui/traits/issue-97576.stderr @@ -0,0 +1,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`. |