rust/tests/ui/union
Frank King 868706d9b5 Parse unnamed fields and anonymous structs or unions
Anonymous structs or unions are only allowed in struct field
definitions.

Co-authored-by: carbotaniuman <41451839+carbotaniuman@users.noreply.github.com>
2023-08-24 11:17:54 +08:00
..
auxiliary
unnamed-fields Parse unnamed fields and anonymous structs or unions 2023-08-24 11:17:54 +08:00
field_checks.rs Tweak E0740 2023-03-08 01:58:15 +00:00
field_checks.stderr Tweak E0740 2023-03-08 01:58:15 +00:00
issue-41073.rs Tweak E0740 2023-03-08 01:58:15 +00:00
issue-41073.stderr Tweak E0740 2023-03-08 01:58:15 +00:00
issue-81199.rs
issue-81199.stderr
issue-99375.rs
projection-as-union-type-error-2.rs Add failing test for invalid projection as union field type 2023-01-17 14:00:55 +01:00
projection-as-union-type-error-2.stderr Add failing test for invalid projection as union field type 2023-01-17 14:00:55 +01:00
projection-as-union-type-error.rs Add failing test for invalid projection as union field type 2023-01-17 14:00:55 +01:00
projection-as-union-type-error.stderr Add failing test for invalid projection as union field type 2023-01-17 14:00:55 +01:00
projection-as-union-type.rs Add ui test for projection used as union field type 2023-01-16 15:19:18 +01:00
union-align.rs
union-backcomp.rs
union-basic.rs
union-borrow-move-parent-sibling.mirunsafeck.stderr
union-borrow-move-parent-sibling.rs
union-borrow-move-parent-sibling.thirunsafeck.stderr
union-const-codegen.rs
union-const-eval-field.rs
union-const-eval.rs
union-const-pat.rs
union-const-pat.stderr
union-copy.rs may not => cannot 2023-03-08 00:00:18 +00:00
union-copy.stderr may not => cannot 2023-03-08 00:00:18 +00:00
union-deref.mirunsafeck.stderr
union-deref.rs
union-deref.thirunsafeck.stderr
union-derive-clone.mirunsafeck.stderr Tweak output for 'add line' suggestion 2023-04-12 22:50:10 +00:00
union-derive-clone.rs
union-derive-clone.thirunsafeck.stderr Tweak output for 'add line' suggestion 2023-04-12 22:50:10 +00:00
union-derive-eq.mirunsafeck.stderr Tweak output for 'add line' suggestion 2023-04-12 22:50:10 +00:00
union-derive-eq.rs
union-derive-eq.thirunsafeck.stderr Tweak output for 'add line' suggestion 2023-04-12 22:50:10 +00:00
union-derive-rpass.rs
union-derive.rs
union-derive.stderr
union-drop-assign.rs
union-drop.rs
union-empty.rs
union-empty.stderr
union-fields-1.mirunsafeck.stderr
union-fields-1.rs
union-fields-1.thirunsafeck.stderr
union-fields-2.mirunsafeck.stderr Don't mention already set fields 2023-06-05 21:00:08 +00:00
union-fields-2.rs
union-fields-2.thirunsafeck.stderr Don't mention already set fields 2023-06-05 21:00:08 +00:00
union-generic-rpass.rs
union-generic.mirunsafeck.stderr
union-generic.rs
union-generic.thirunsafeck.stderr
union-inherent-method.rs
union-lint-dead-code.mirunsafeck.stderr
union-lint-dead-code.rs
union-lint-dead-code.thirunsafeck.stderr
union-macro.rs
union-manuallydrop-rpass.rs
union-move.mirunsafeck.stderr
union-move.rs
union-move.thirunsafeck.stderr
union-nodrop.rs
union-nonrepresentable.rs
union-nonrepresentable.stderr
union-nonzero.rs
union-overwrite.rs
union-packed.rs
union-pat-refutability.rs
union-repr-c.rs
union-repr-c.stderr
union-sized-field.rs
union-sized-field.stderr change std::marker::Sized to just Sized 2023-06-15 12:01:38 +02:00
union-suggest-field.mirunsafeck.stderr
union-suggest-field.rs
union-suggest-field.thirunsafeck.stderr
union-trait-impl.rs
union-transmute.rs
union-unsafe.mir.stderr
union-unsafe.rs
union-unsafe.thir.stderr
union-unsized.mirunsafeck.stderr
union-unsized.rs
union-unsized.thirunsafeck.stderr
union-with-drop-fields.mirunsafeck.stderr Tweak E0740 2023-03-08 01:58:15 +00:00
union-with-drop-fields.rs Tweak E0740 2023-03-08 01:58:15 +00:00
union-with-drop-fields.thirunsafeck.stderr Tweak E0740 2023-03-08 01:58:15 +00:00
unresolved-field-isnt-copy.rs Don't report E0740 for type error 2023-03-08 01:55:32 +00:00
unresolved-field-isnt-copy.stderr Don't report E0740 for type error 2023-03-08 01:55:32 +00:00