2022-11-09 22:21:11 -06:00
|
|
|
error[E0119]: conflicting implementations of trait `Clone` for type `Node<[_]>`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-48728.rs:4:10
|
2018-04-05 19:15:23 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | #[derive(Clone)]
|
2018-04-05 19:15:23 -05:00
|
|
|
| ^^^^^ conflicting implementation for `Node<[_]>`
|
|
|
|
...
|
|
|
|
LL | impl<T: Clone + ?Sized> Clone for Node<[T]> {
|
|
|
|
| ------------------------------------------- first implementation here
|
2019-08-04 11:52:43 -05:00
|
|
|
|
|
2019-09-18 17:16:16 -05:00
|
|
|
= note: upstream crates may add a new impl of trait `std::clone::Clone` for type `[_]` in future versions
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-04-05 19:15:23 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|