rust/src/test/ui/union/union-derive.stderr
Aaron Hill 21e6cc19fe
Expand derive invocations in left-to-right order
While derives were being collected in left-to-order order, the
corresponding `Invocation`s were being pushed in the wrong order.
2021-04-10 17:29:20 -04:00

39 lines
748 B
Plaintext

error: this trait cannot be derived for unions
--> $DIR/union-derive.rs:4:5
|
LL | PartialEq,
| ^^^^^^^^^
error: this trait cannot be derived for unions
--> $DIR/union-derive.rs:5:5
|
LL | PartialOrd,
| ^^^^^^^^^^
error: this trait cannot be derived for unions
--> $DIR/union-derive.rs:6:5
|
LL | Ord,
| ^^^
error: this trait cannot be derived for unions
--> $DIR/union-derive.rs:7:5
|
LL | Hash,
| ^^^^
error: this trait cannot be derived for unions
--> $DIR/union-derive.rs:8:5
|
LL | Default,
| ^^^^^^^
error: this trait cannot be derived for unions
--> $DIR/union-derive.rs:9:5
|
LL | Debug,
| ^^^^^
error: aborting due to 6 previous errors