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