error: cannot specialize on trait `SpecMarker`
--> $DIR/specialize_on_trait.rs:15:9
|
LL | impl<T: SpecMarker> X for T {
| ^^^^^^^^^^
error: aborting due to 1 previous error