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