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