fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
524 B20 linesraw
1error: cannot specialize on `'static` lifetime
2  --> $DIR/specialization_trait.rs:11:1
3   |
4LL | impl SpecMarker for &'static u8 {
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7error: specializing impl repeats parameter `T`
8  --> $DIR/specialization_trait.rs:16:1
9   |
10LL | impl<T> SpecMarker for (T, T) {
11   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: cannot specialize on trait `Clone`
14  --> $DIR/specialization_trait.rs:21:9
15   |
16LL | impl<T: Clone> SpecMarker for [T] {
17   |         ^^^^^
18
19error: aborting due to 3 previous errors
20