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
On 2022-05-28 @recmo wrote in 1ec2e50 “Recognize new tags”:
BLOCKED) It would be nice to impl From<_> as well, but then the
generic implementation impl<T: Into<U>, U> TryFrom<U> for T conflicts with
our own implementation. This means we can only implement one.
In principle this can be worked around by specialization, but that
triggers other compiler issues at the moment.
// FEATURE: (BLOCKED) It would be nice to impl From<_> as well, but then the// generic implementation `impl<T: Into<U>, U> TryFrom<U> for T` conflicts with// our own implementation. This means we can only implement one.// In principle this can be worked around by `specialization`, but that// triggers other compiler issues at the moment.// impl<T, const BITS: usize> From<T> for Uint<BITS>// where// [(); nlimbs(BITS)]:,// Uint<BITS>: TryFrom<T>,
On 2022-05-28 @recmo wrote in
1ec2e50
“Recognize new tags”:BLOCKED) It would be nice to impl From<_> as well, but then the
generic implementation
impl<T: Into<U>, U> TryFrom<U> for T
conflicts withour own implementation. This means we can only implement one.
In principle this can be worked around by
specialization
, but thattriggers other compiler issues at the moment.
From
src/from.rs:1
The text was updated successfully, but these errors were encountered: