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