rust/tests/ui/specialization/min_specialization/specialization_trait.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
524 B
Plaintext
Raw Normal View History

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 {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot specialize on trait `Clone`
2022-07-01 21:41:28 +00:00
--> $DIR/specialization_trait.rs:21:9
|
2022-02-13 15:27:59 +00:00
LL | impl<T: Clone> SpecMarker for [T] {
2022-07-01 21:41:28 +00:00
| ^^^^^
error: aborting due to 3 previous errors