rust/src/test/compile-fail/union
Robin Kruppe 9b5f47ec48 [improper_ctypes] Overhaul primary label
- Always name the non-FFI-safe
- Explain *why* the type is not FFI-safe
- Stop vaguely gesturing at structs/enums/unions if the non-FFI-safe types occured in a field.

The last part is arguably a regression, but it's minor now that the non-FFI-safe type is actually named. Removing it avoids some code duplication.
2018-02-15 18:10:54 +01:00
..
union-borrow-move-parent-sibling.rs Fix move checking for nested union fields 2017-04-08 11:52:37 +03:00
union-const-pat.rs Stabilize unions with Copy fields and no destructor 2017-05-27 00:52:20 +03:00
union-copy.rs Improve shallow Clone deriving 2016-09-10 18:43:27 +03:00
union-derive-clone.rs Improve shallow Clone deriving 2016-09-10 18:43:27 +03:00
union-derive.rs Stabilize unions with Copy fields and no destructor 2017-05-27 00:52:20 +03:00
union-empty.rs Stabilize unions with Copy fields and no destructor 2017-05-27 00:52:20 +03:00
union-generic.rs Stabilize unions with Copy fields and no destructor 2017-05-27 00:52:20 +03:00
union-lint-dead-code.rs Stabilize unions with Copy fields and no destructor 2017-05-27 00:52:20 +03:00
union-nonrepresentable.rs Address comments and add requested tests 2016-09-03 13:39:35 +03:00
union-repr-c.rs [improper_ctypes] Overhaul primary label 2018-02-15 18:10:54 +01:00
union-unsafe.rs move unsafety checking to MIR 2017-09-24 12:46:00 +03:00
union-unsized.rs Address comments and add requested tests 2016-09-03 13:39:35 +03:00
union-with-drop-fields-lint.rs Address comments and add requested tests 2016-09-03 13:39:35 +03:00