2024-05-29 17:06:50 +01:00
|
|
|
error[E0119]: conflicting implementations of trait `Copy` for type `S<_>`
|
2024-09-08 01:49:25 -04:00
|
|
|
--> $DIR/bad-const-wf-doesnt-specialize.rs:9:1
|
2024-01-17 14:57:48 +00:00
|
|
|
|
|
|
|
|
|
LL | impl<const N: i32> Copy for S<N> {}
|
2024-05-29 17:06:50 +01:00
|
|
|
| -------------------------------- first implementation here
|
|
|
|
|
LL | impl<const M: usize> Copy for S<M> {}
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `S<_>`
|
2024-01-17 14:57:48 +00:00
|
|
|
|
2024-09-08 01:49:25 -04:00
|
|
|
error: aborting due to 1 previous error
|
2023-03-09 20:49:05 +00:00
|
|
|
|
2024-09-08 01:49:25 -04:00
|
|
|
For more information about this error, try `rustc --explain E0119`.
|