BV
Size: a a a
BV
АК
АК
JC
AV
JC
impl <T: Error> Error for Box<T> JC
BV
JC
JC
АК
АК
АК
error[E0119]: conflicting implementations of trait `core::convert::From<alloc_crate::boxed::Box<dyn error::Error>>` for type `alloc_crate::boxed::Box<dyn error::Error>`:
--> library/std/src/error.rs:162:1
|
162 | impl<'a, E: Error + 'a> From<E> for Box<dyn Error + 'a> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: conflicting implementation in crate `core`:
- impl<T> core::convert::From<T> for T;
error[E0119]: conflicting implementations of trait `core::convert::From<alloc_crate::boxed::Box<dyn error::Error + core::marker::Send + core::marker::Sync>>` for type `alloc_crate::boxed::Box<dyn error::Error + core::marker::Send + core::marker::Sync>`:
--> library/std/src/error.rs:194:1
|
194 | impl<'a, E: Error + Send + Sync + 'a> From<E> for Box<dyn Error + Send + Sync + 'a> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: conflicting implementation in crate `core`:
- impl<T> core::convert::From<T> for T;
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0119`.
error: could not compile `std`.
JC
JC
АК
JC
АК