]> git.lizzy.rs Git - rust.git/blob - src/test/ui/specialization/issue-52050.stderr
36f96b011983f0db757362adbeb9d23edc7d15a4
[rust.git] / src / test / ui / specialization / issue-52050.stderr
1 error[E0119]: conflicting implementations of trait `IntoPyDictPointer` for type `()`:
2   --> $DIR/issue-52050.rs:28:1
3    |
4 LL | / impl<I> IntoPyDictPointer for I
5 LL | | where
6 LL | |     I: Iterator,
7 LL | | {
8 LL | | }
9    | |_- first implementation here
10 LL | 
11 LL |   impl IntoPyDictPointer for ()
12    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `()`
13    |
14    = note: upstream crates may add a new impl of trait `std::iter::Iterator` for type `()` in future versions
15
16 error: aborting due to previous error
17
18 For more information about this error, try `rustc --explain E0119`.