2020-02-08 14:14:02 -06:00
|
|
|
error: cannot specialize on `'static` lifetime
|
|
|
|
--> $DIR/specialization_trait.rs:11:1
|
|
|
|
|
|
2022-02-13 09:27:59 -06:00
|
|
|
LL | impl SpecMarker for &'static u8 {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-02-08 14:14:02 -06:00
|
|
|
|
|
|
|
error: specializing impl repeats parameter `T`
|
|
|
|
--> $DIR/specialization_trait.rs:16:1
|
|
|
|
|
|
2022-02-13 09:27:59 -06:00
|
|
|
LL | impl<T> SpecMarker for (T, T) {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-02-08 14:14:02 -06:00
|
|
|
|
2020-09-02 02:40:56 -05:00
|
|
|
error: cannot specialize on trait `Clone`
|
2022-07-01 16:41:28 -05:00
|
|
|
--> $DIR/specialization_trait.rs:21:9
|
2020-02-08 14:14:02 -06:00
|
|
|
|
|
2022-02-13 09:27:59 -06:00
|
|
|
LL | impl<T: Clone> SpecMarker for [T] {
|
2022-07-01 16:41:28 -05:00
|
|
|
| ^^^^^
|
2020-02-08 14:14:02 -06:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|