summary refs log tree commit diff
path: root/src/test/ui/specialization/issue-52050.stderr
blob: dcb34f3ad4836518aad8be94b7fd533d51f91a47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error[E0119]: conflicting implementations of trait `IntoPyDictPointer` for type `()`:
  --> $DIR/issue-52050.rs:28:1
   |
LL | / impl<I> IntoPyDictPointer for I
LL | | where
LL | |     I: Iterator,
LL | | {
LL | | }
   | |_- first implementation here
LL | 
LL |   impl IntoPyDictPointer for ()
   |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `()`
   |
   = note: upstream crates may add new impl of trait `std::iter::Iterator` for type `()` in future versions

error: aborting due to previous error

For more information about this error, try `rustc --explain E0119`.