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