Changed expected error message for TryFrom
Reason: Due to changes in bounds of `TryFrom` from `From` to `Into`
This commit is contained in:
parent
f8bd80a830
commit
7a25a7ce8d
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue