fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0119]: conflicting implementations of trait `complex_impl_support::External` for type `(Q, complex_impl_support::M<'_, '_, '_, std::boxed::Box<_>, _, _>)`: 2 --> $DIR/complex-impl.rs:9:1 3 | 4LL | impl<R> External for (Q, R) {} 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7 = note: conflicting implementation in crate `complex_impl_support`: 8 - impl<'a, 'b, 'c, T, U, V, W> complex_impl_support::External for (T, complex_impl_support::M<'a, 'b, 'c, std::boxed::Box<U>, V, W>) 9 where <U as std::ops::FnOnce<(T,)>>::Output == V, <V as std::iter::Iterator>::Item == T, 'b: 'a, T: 'a, U: std::ops::FnOnce<(T,)>, U: 'static, V: std::iter::Iterator, V: std::clone::Clone, W: std::ops::Add, <W as std::ops::Add>::Output: std::marker::Copy; 10 11error[E0117]: only traits defined in the current crate can be implemented for arbitrary types 12 --> $DIR/complex-impl.rs:9:1 13 | 14LL | impl<R> External for (Q, R) {} 15 | ^^^^^^^^^^^^^^^^^^^^^------ 16 | | | 17 | | this is not defined in the current crate because tuples are always foreign 18 | impl doesn't use only types from inside the current crate 19 | 20 = note: define and implement a trait or new type instead 21 22error: aborting due to 2 previous errors 23 24Some errors have detailed explanations: E0117, E0119. 25For more information about an error, try `rustc --explain E0117`.