How to implement From trait for same type with different generics

use std::convert::From;

struct Wrapper<T> {
    inner: Option<T>,
}

impl<F, T> From<Wrapper<F>> for Wrapper<T>
where
    T: From<F>,
{
    ...
}

The compiler says that it has already implemented impl<T> From<T> for T.

Yes, for my case, it is a subset for such a generic case of impl<T> From<T> for T. So, How could I opt out of this special case?

You can't.

sad...

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.