rust/tests/ui/layout
bors 5113ed28ea Auto merge of #118297 - shepmaster:warn-dead-tuple-fields, r=WaffleLapkin
Merge `unused_tuple_struct_fields` into `dead_code`

This implicitly upgrades the lint from `allow` to `warn` and places it into the `unused` lint group.

[Discussion on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Moving.20.60unused_tuple_struct_fields.60.20from.20allow.20to.20warn)
2024-01-05 04:51:55 +00:00
..
big-type-no-err.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
cannot-transmute-unnormalizable-type.rs Avoid a track_errors by bubbling up most errors from check_well_formed 2023-10-20 08:46:27 +00:00
cannot-transmute-unnormalizable-type.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
debug.rs rustc_layout, rustc_abi: make sure the types are well-formed 2023-09-09 17:32:12 +02:00
debug.stderr Disentangle Debug and Display for Ty. 2023-09-11 12:51:07 +10:00
enum.rs rustc_abi: audit uses of is_zst; fix a case of giving an enum insufficient alignment 2023-08-29 08:58:58 +02:00
enum.stderr rustc_abi: audit uses of is_zst; fix a case of giving an enum insufficient alignment 2023-08-29 08:58:58 +02:00
hexagon-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
hexagon-enum.stderr i686-windows: make requested alignment > 4 special case apply transitively 2023-07-14 17:48:13 -04:00
homogeneous-aggr-transparent.rs fix homogeneous_aggregate not ignoring some 1-ZST 2023-09-10 07:38:03 +02:00
homogeneous-aggr-transparent.stderr fix homogeneous_aggregate not ignoring some 1-ZST 2023-09-10 07:38:03 +02:00
homogeneous-aggr-zero-sized-c-struct.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
homogeneous-aggr-zero-sized-c-struct.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
homogeneous-aggr-zero-sized-repr-rust.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
homogeneous-aggr-zero-sized-repr-rust.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-60431-unsized-tail-behind-projection.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-84108.rs Work around the fact that check_mod_type_wf may spuriously return ErrorGuaranteed, even if that error is only emitted by check_modwitem_types 2023-10-25 12:04:54 +00:00
issue-84108.stderr Reorder check_item_type diagnostics so they occur next to the corresponding check_well_formed diagnostics 2024-01-02 14:17:56 +00:00
issue-96158-scalarpair-payload-might-be-uninit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-96158-scalarpair-payload-might-be-uninit.stderr i686-windows: make requested alignment > 4 special case apply transitively 2023-07-14 17:48:13 -04:00
issue-96185-overaligned-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-96185-overaligned-enum.stderr i686-windows: make requested alignment > 4 special case apply transitively 2023-07-14 17:48:13 -04:00
issue-112048-unsizing-field-order.rs Make struct layout not depend on unsizeable tail 2023-05-29 14:54:48 +02:00
issue-112048-unsizing-niche.rs Add test case for unsizing with niche 2023-06-13 15:32:42 -04:00
issue-113941.rs Add regression test for issue #113941 - naive layout isn't refined 2023-07-22 13:02:59 +02:00
layout-cycle.rs Don't ICE on layout computation failure 2023-08-28 12:40:39 -07:00
layout-cycle.stderr Don't ICE on layout computation failure 2023-08-28 12:40:39 -07:00
malformed-unsized-type-in-union.rs Don't attempt to compute layout of type referencing error 2023-07-27 18:24:08 +00:00
malformed-unsized-type-in-union.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
struct.rs rustc_abi: audit uses of is_zst; fix a case of giving an enum insufficient alignment 2023-08-29 08:58:58 +02:00
struct.stderr rustc_abi: audit uses of is_zst; fix a case of giving an enum insufficient alignment 2023-08-29 08:58:58 +02:00
thin-meta-implies-thin-ptr.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
thumb-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
thumb-enum.stderr i686-windows: make requested alignment > 4 special case apply transitively 2023-07-14 17:48:13 -04:00
too-big-with-padding.rs fix failure to detect a too-big-type after adding padding 2023-10-27 18:07:53 +02:00
too-big-with-padding.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
transmute-to-tail-with-err.rs Layout of &dyn Trait<[type error]> is still wide 2023-03-13 21:35:20 +00:00
transmute-to-tail-with-err.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unsafe-cell-hides-niche.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
valid_range_oob.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
valid_range_oob.stderr Change default panic handler message format. 2023-07-29 11:42:50 +02:00
zero-sized-array-enum-niche.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
zero-sized-array-enum-niche.stderr Disentangle Debug and Display for Ty. 2023-09-11 12:51:07 +10:00
zero-sized-array-union.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
zero-sized-array-union.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00