about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOzaren <krishna.sd.2012@gmail.com>2018-12-16 13:01:26 -0500
committerOzaren <krishna.sd.2012@gmail.com>2018-12-16 13:01:26 -0500
commit7a25a7ce8df3ba8b41915e240fedd8bf94867137 (patch)
treed088cf70c46fe8bd67efdc2254ecfc77287fe151
parentf8bd80a830509d4356b76bc44a50c798db1bb3ea (diff)
Changed expected error message for TryFrom
Reason: Due to changes in bounds of `TryFrom` from `From` to `Into`
-rw-r--r--src/test/ui/e0119/conflict-with-std.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/e0119/conflict-with-std.stderr b/src/test/ui/e0119/conflict-with-std.stderr
index e8b2c84c0df..8ca085c3a4b 100644
--- a/src/test/ui/e0119/conflict-with-std.stderr
+++ b/src/test/ui/e0119/conflict-with-std.stderr
@@ -25,7 +25,7 @@ LL | impl TryFrom<X> for X { //~ ERROR conflicting implementations
    |
    = note: conflicting implementation in crate `core`:
            - impl<T, U> std::convert::TryFrom<U> for T
-             where T: std::convert::From<U>;
+             where T: std::convert::Into<U>;
 
 error: aborting due to 3 previous errors