Skip to content

Commit 7a25a7c

Browse files
committed
Changed expected error message for TryFrom
Reason: Due to changes in bounds of `TryFrom` from `From` to `Into`
1 parent f8bd80a commit 7a25a7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/e0119/conflict-with-std.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ LL | impl TryFrom<X> for X { //~ ERROR conflicting implementations
2525
|
2626
= note: conflicting implementation in crate `core`:
2727
- impl<T, U> std::convert::TryFrom<U> for T
28-
where T: std::convert::From<U>;
28+
where T: std::convert::Into<U>;
2929

3030
error: aborting due to 3 previous errors
3131

0 commit comments

Comments
 (0)