about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorBastian Kersting <bastian@cmbt.de>2020-12-20 20:10:00 +0100
committerBastian Kersting <bastian@cmbt.de>2020-12-20 22:00:34 +0100
commit7e641c8be774bba047d7d9ee57455957fd4e2a3b (patch)
treed4b474b91f9bec72fa46e7b7b9317c454f88956c /tests
parentdd005c17e72a48f8579cd26a7165c960b04f6aa3 (diff)
downloadrust-7e641c8be774bba047d7d9ee57455957fd4e2a3b.tar.gz
rust-7e641c8be774bba047d7d9ee57455957fd4e2a3b.zip
Fixed error messages
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/from_over_into.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/from_over_into.stderr b/tests/ui/from_over_into.stderr
index c9c8e7c4b53..0825d47add2 100644
--- a/tests/ui/from_over_into.stderr
+++ b/tests/ui/from_over_into.stderr
@@ -1,4 +1,4 @@
-error: An implementation of From is preferred since it gives you Into<..> for free where the reverse isn't true.
+error: An implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true.
   --> $DIR/from_over_into.rs:6:1
    |
 LL | / impl Into<StringWrapper> for String {
@@ -9,7 +9,7 @@ LL | | }
    | |_^
    |
    = note: `-D clippy::from-over-into` implied by `-D warnings`
-   = help: consider to implement From instead
+   = help: consider to implement `From` instead
 
 error: aborting due to previous error