]> git.proxmox.com Git - rustc.git/blob - src/test/ui/specialization/min_specialization/specialization_trait.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / specialization / min_specialization / specialization_trait.stderr
1 error: cannot specialize on `'static` lifetime
2 --> $DIR/specialization_trait.rs:11:1
3 |
4 LL | / impl SpecMarker for &'static u8 {
5 LL | |
6 LL | | fn f() {}
7 LL | | }
8 | |_^
9
10 error: specializing impl repeats parameter `T`
11 --> $DIR/specialization_trait.rs:16:1
12 |
13 LL | / impl<T> SpecMarker for (T, T) {
14 LL | |
15 LL | | fn f() {}
16 LL | | }
17 | |_^
18
19 error: cannot specialize on trait `Clone`
20 --> $DIR/specialization_trait.rs:21:1
21 |
22 LL | / impl<T: Clone> SpecMarker for [T] {
23 LL | |
24 LL | | fn f() {}
25 LL | | }
26 | |_^
27
28 error: aborting due to 3 previous errors
29