You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This one expands to impl<T> Display for Error<T> with no inferred bound on T:
#[derive(Error,Debug)]#[error("{var}", var = "...")]pubstructError<T>{thing:T,}
But this one does not make sense. It expands to impl<T: Display> Display for Error<T> even though self.thing is not used in the error message and T does not need to be bound with Display.
This code expands very sensibly to
impl<T: Display> Display for Error<T>
:This one expands to
impl<T> Display for Error<T>
with no inferred bound on T:But this one does not make sense. It expands to
impl<T: Display> Display for Error<T>
even though self.thing is not used in the error message and T does not need to be bound with Display.The text was updated successfully, but these errors were encountered: