]> git.lizzy.rs Git - rust.git/blob - src/test/ui/union/union-derive.stderr
Rollup merge of #100006 - jyn514:update-copy, r=dtolnay
[rust.git] / src / test / ui / union / union-derive.stderr
1 error: this trait cannot be derived for unions
2   --> $DIR/union-derive.rs:4:5
3    |
4 LL |     PartialEq,
5    |     ^^^^^^^^^
6
7 error: this trait cannot be derived for unions
8   --> $DIR/union-derive.rs:5:5
9    |
10 LL |     PartialOrd,
11    |     ^^^^^^^^^^
12
13 error: this trait cannot be derived for unions
14   --> $DIR/union-derive.rs:6:5
15    |
16 LL |     Ord,
17    |     ^^^
18
19 error: this trait cannot be derived for unions
20   --> $DIR/union-derive.rs:7:5
21    |
22 LL |     Hash,
23    |     ^^^^
24
25 error: this trait cannot be derived for unions
26   --> $DIR/union-derive.rs:8:5
27    |
28 LL |     Default,
29    |     ^^^^^^^
30
31 error: this trait cannot be derived for unions
32   --> $DIR/union-derive.rs:9:5
33    |
34 LL |     Debug,
35    |     ^^^^^
36
37 error: aborting due to 6 previous errors
38