You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
= warning: the behavior may change in a future release
10
10
= note: for more information, see issue #56105 <https://github.com/rust-lang/rust/issues/56105>
11
+
= note: downstream crates may implement trait `Marker` for type `&_`
11
12
= note: this behavior recently changed as a result of a bug fix; see rust-lang/rust#56105 for details
| ------------------------------------------------------ first implementation here
6
6
LL |
7
7
LL | impl<S: Iterator> MyTrait<S> for (Box<<(MyType,) as Mirror>::Assoc>, S::Item) {}
8
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(Box<(MyType,)>, _)`
8
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(Box<(MyType,)>, <_ as Iterator>::Item)`
9
9
|
10
+
= note: upstream crates may add a new impl of trait `std::clone::Clone` for type `(MyType,)` in future versions
10
11
= note: upstream crates may add a new impl of trait `std::marker::Copy` for type `std::boxed::Box<(MyType,)>` in future versions
| ------------------------------------------------------ first implementation here
6
+
LL |
7
+
LL | impl<S: Iterator> MyTrait<S> for (Box<<(MyType,) as Mirror>::Assoc>, S::Item) {}
8
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `(Box<(MyType,)>, <_ as Iterator>::Item)`
9
+
|
10
+
= note: upstream crates may add a new impl of trait `std::clone::Clone` for type `std::boxed::Box<(MyType,)>` in future versions
11
+
= note: upstream crates may add a new impl of trait `std::marker::Copy` for type `std::boxed::Box<(MyType,)>` in future versions
12
+
13
+
error: aborting due to 1 previous error
14
+
15
+
For more information about this error, try `rustc --explain E0119`.
0 commit comments