2022-11-06 01:07:06 -05:00
|
|
|
error: cannot specialize on const impl with non-const impl
|
2023-04-16 06:12:37 -05:00
|
|
|
--> $DIR/specializing-constness.rs:23:1
|
2022-11-06 01:07:06 -05:00
|
|
|
|
|
2023-04-16 06:12:37 -05:00
|
|
|
LL | impl<T: Spec + Sup> A for T {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-11-06 01:07:06 -05:00
|
|
|
|
2022-11-10 22:14:08 -06:00
|
|
|
error: missing `~const` qualifier for specialization
|
2023-04-16 06:12:37 -05:00
|
|
|
--> $DIR/specializing-constness.rs:23:9
|
2022-09-24 15:15:19 -05:00
|
|
|
|
|
2023-04-16 06:12:37 -05:00
|
|
|
LL | impl<T: Spec + Sup> A for T {
|
|
|
|
| ^^^^
|
2022-09-24 15:15:19 -05:00
|
|
|
|
2022-11-06 01:07:06 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2022-09-24 15:15:19 -05:00
|
|
|
|