rust/tests/ui/union/unnamed-fields
David Wood 4e03c51f7d
hir_analysis: enums return None in find_field
Unnamed union fields with enums are checked for, but if `find_field`
causes an ICE then the compiler won't get to that point.

Signed-off-by: David Wood <david@davidtw.co>
2024-03-04 11:38:16 +00:00
..
auxiliary Add more checks for unnamed_field during HIR analysis 2024-02-17 15:12:33 +00:00
anon-struct-in-enum-issue-121446.rs Don't ICE on anonymous struct in enum variant 2024-02-23 12:25:23 +00:00
anon-struct-in-enum-issue-121446.stderr Don't ICE on anonymous struct in enum variant 2024-02-23 12:25:23 +00:00
field_uniqueness_check.rs Add #[derive(Clone, Copy)] to anonymous adts 2024-02-12 12:47:32 +08:00
field_uniqueness_check.stderr Improve some codes according to the reviews 2024-02-12 12:47:32 +08:00
repr_check.rs Check representation of unnamed fields 2024-02-12 12:47:31 +08:00
repr_check.stderr Improve some codes according to the reviews 2024-02-12 12:47:32 +08:00
restrict_anonymous_structs.rs check uniqueness of nested fields 2024-02-12 12:47:29 +08:00
restrict_anonymous_structs.stderr check uniqueness of nested fields 2024-02-12 12:47:29 +08:00
restrict_anonymous_unions.rs check uniqueness of nested fields 2024-02-12 12:47:29 +08:00
restrict_anonymous_unions.stderr check uniqueness of nested fields 2024-02-12 12:47:29 +08:00
restrict_type_hir.rs Add more checks for unnamed_field during HIR analysis 2024-02-17 15:12:33 +00:00
restrict_type_hir.stderr Add more checks for unnamed_field during HIR analysis 2024-02-17 15:12:33 +00:00
unnamed-enum-field-issue-121757.rs hir_analysis: enums return None in find_field 2024-03-04 11:38:16 +00:00
unnamed-enum-field-issue-121757.stderr hir_analysis: enums return None in find_field 2024-03-04 11:38:16 +00:00