about summary refs log tree commit diff
path: root/tests/ui/generic-const-items/assoc-const-no-infer-ice-115806.stderr
blob: 9a9baaddcba3a782fd441845668db8af55e63585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0119]: conflicting implementations of trait `Pins<_>` for type `NoPin`
  --> $DIR/assoc-const-no-infer-ice-115806.rs:16:1
   |
LL | impl<TA> Pins<TA> for NoPin {}
   | --------------------------- first implementation here
...
LL | impl<USART, T> Pins<USART> for T where T: PinA<USART, A = { &() }> {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `NoPin`
   |
   = note: downstream crates may implement trait `PinA<_>` for type `NoPin`

error: aborting due to 1 previous error

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