about summary refs log tree commit diff
path: root/tests/ui/specialization/min_specialization/bad-const-wf-doesnt-specialize.stderr
blob: 2953bc95917c928a0f869eb31b3f388562bc6063 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0119]: conflicting implementations of trait `Copy` for type `S<_>`
  --> $DIR/bad-const-wf-doesnt-specialize.rs:9:1
   |
LL | impl<const N: i32> Copy for S<N> {}
   | -------------------------------- first implementation here
LL | impl<const M: usize> Copy for S<M> {}
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `S<_>`

error: aborting due to 1 previous error

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