]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-48728.stderr
Auto merge of #53289 - ljedrz:improve_lexer, r=michaelwoerister
[rust.git] / src / test / ui / issues / issue-48728.stderr
1 error[E0119]: conflicting implementations of trait `std::clone::Clone` for type `Node<[_]>`:
2   --> $DIR/issue-48728.rs:14:10
3    |
4 LL | #[derive(Clone)] //~ ERROR conflicting implementations of trait `std::clone::Clone`
5    |          ^^^^^ conflicting implementation for `Node<[_]>`
6 ...
7 LL | impl<T: Clone + ?Sized> Clone for Node<[T]> {
8    | ------------------------------------------- first implementation here
9    |
10    = note: upstream crates may add new impl of trait `std::clone::Clone` for type `[_]` in future versions
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0119`.