2024-11-21 20:22:08 +00:00
|
|
|
error[E0119]: conflicting implementations of trait `A`
|
2023-04-16 11:12:37 +00:00
|
|
|
--> $DIR/specializing-constness.rs:23:1
|
2022-11-06 01:07:06 -05:00
|
|
|
|
|
2024-11-21 20:22:08 +00:00
|
|
|
LL | impl<T: ~const Spec> const A for T {
|
|
|
|
|
| ---------------------------------- first implementation here
|
|
|
|
|
...
|
2023-04-16 11:12:37 +00:00
|
|
|
LL | impl<T: Spec + Sup> A for T {
|
2024-11-21 20:22:08 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation
|
2022-11-06 01:07:06 -05:00
|
|
|
|
2024-10-30 18:03:44 +00:00
|
|
|
error: aborting due to 1 previous error
|
2022-09-24 20:15:19 +00:00
|
|
|
|
2024-11-21 20:22:08 +00:00
|
|
|
For more information about this error, try `rustc --explain E0119`.
|