rust/tests/ui/crashes
bors f5cc292830 Auto merge of #131045 - compiler-errors:remove-unnamed_fields, r=wesleywiser
Retire the `unnamed_fields` feature for now

`#![feature(unnamed_fields)]` was implemented in part in #115131 and #115367, however work on that feature has (afaict) stalled and in the mean time there have been some concerns raised (e.g.[^1][^2]) about whether `unnamed_fields` is worthwhile to have in the language, especially in its current desugaring. Because it represents a compiler implementation burden including a new kind of anonymous ADT and additional complication to field selection, and is quite prone to bugs today, I'm choosing to remove the feature.

However, since I'm not one to really write a bunch of words, I'm specifically *not* going to de-RFC this feature. This PR essentially *rolls back* the state of this feature to "RFC accepted but not yet implemented"; however if anyone wants to formally unapprove the RFC from the t-lang side, then please be my guest. I'm just not totally willing to summarize the various language-facing reasons for why this feature is or is not worthwhile, since I'm coming from the compiler side mostly.

Fixes #117942
Fixes #121161
Fixes #121263
Fixes #121299
Fixes #121722
Fixes #121799
Fixes #126969
Fixes #131041

Tracking:
* https://github.com/rust-lang/rust/issues/49804

[^1]: https://rust-lang.zulipchat.com/#narrow/stream/213817-t-lang/topic/Unnamed.20struct.2Funion.20fields
[^2]: https://github.com/rust-lang/rust/issues/49804#issuecomment-1972619108
2024-10-11 13:11:13 +00:00
..
auxiliary
third-party
associated-constant-ice.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
cc_seme.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
enum-glob-import-crate.rs
ice_exact_size.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-360.rs
ice-360.stderr
ice-700.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-1588.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-1782.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
ice-1969.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-2499.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-2594.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-2727.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-2760.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-2774.fixed
ice-2774.rs
ice-2774.stderr
ice-2862.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-2865.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-3151.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-3462.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-3717.fixed Merge commit '0f8eabd6231366bfc1bb1464601297c2d48f8f68' into clippyup 2024-08-24 18:33:44 -04:00
ice-3717.rs Merge commit '0f8eabd6231366bfc1bb1464601297c2d48f8f68' into clippyup 2024-08-24 18:33:44 -04:00
ice-3717.stderr Merge commit '0f8eabd6231366bfc1bb1464601297c2d48f8f68' into clippyup 2024-08-24 18:33:44 -04:00
ice-3741.rs
ice-3747.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-3891.rs
ice-3891.stderr
ice-3969.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-3969.stderr
ice-4121.rs
ice-4545.rs
ice-4579.rs
ice-4671.rs
ice-4727.rs
ice-4760.rs
ice-4775.rs
ice-4968.rs
ice-5207.rs
ice-5223.rs
ice-5238.rs Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into clippy-subtree-update 2024-05-02 17:26:44 +02:00
ice-5389.rs
ice-5497.rs
ice-5497.stderr
ice-5579.rs
ice-5835.fixed
ice-5835.rs
ice-5835.stderr
ice-5872.fixed
ice-5872.rs
ice-5872.stderr
ice-5944.rs
ice-6139.rs
ice-6153.rs
ice-6179.rs Update (doc) comments 2024-03-22 06:31:51 +01:00
ice-6250.rs
ice-6250.stderr
ice-6251.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-6251.stderr On implicit Sized bound on fn argument, point at type instead of pattern 2024-09-27 00:45:02 +00:00
ice-6252.rs
ice-6252.stderr Tweak output of import suggestions 2024-06-13 20:22:21 +00:00
ice-6254.rs Merge commit 'cb806113e0f83a8f9b47d35b453b676543bcc40e' into clippy-subtree-update 2024-08-08 19:13:50 +02:00
ice-6255.rs
ice-6255.stderr
ice-6256.rs
ice-6256.stderr
ice-6332.rs
ice-6539.rs
ice-6792.rs
ice-6793.rs
ice-6840.rs
ice-7012.rs
ice-7126.rs
ice-7169.fixed
ice-7169.rs
ice-7169.stderr
ice-7231.rs
ice-7272.rs
ice-7340.rs
ice-7410.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-7423.rs
ice-7868.rs
ice-7868.stderr
ice-7869.rs
ice-7869.stderr
ice-7934.rs
ice-8250.fixed
ice-8250.rs
ice-8250.stderr
ice-8386.rs
ice-8681.rs
ice-8821.rs
ice-8850.fixed
ice-8850.rs
ice-8850.stderr
ice-9041.rs
ice-9041.stderr
ice-9238.rs
ice-9242.rs
ice-9405.rs
ice-9405.stderr
ice-9414.rs
ice-9445.rs Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
ice-9445.stderr Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into clippy-subtree-update 2024-06-13 12:30:48 +02:00
ice-9459.rs
ice-9463.rs
ice-9463.stderr
ice-9625.rs
ice-9746.rs
ice-10148.rs
ice-10148.stderr
ice-10645.rs
ice-10645.stderr
ice-10912.rs
ice-10912.stderr
ice-11065.rs
ice-11230.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
ice-11337.rs
ice-11422.fixed
ice-11422.rs
ice-11422.stderr
ice-11755.rs
ice-11803.rs
ice-11803.stderr
ice-11939.rs
ice-12253.rs
ice-12491.fixed Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
ice-12491.rs Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
ice-12491.stderr Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into clippy-subtree-update 2024-03-21 22:20:40 +01:00
ice-12585.rs Merge commit 'ca3b393750ee8d870bf3215dcf6509cafa5c0445' into clippy-subtree-update 2024-04-18 17:48:52 +02:00
ice-12616.fixed Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
ice-12616.rs Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into clippy-subtree-update 2024-04-04 19:52:55 +02:00
ice-12616.stderr Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into clippy-subtree-update 2024-07-11 15:44:03 +02:00
ice-96721.fixed
ice-96721.rs
ice-96721.stderr
ice-rust-107877.rs
if_same_then_else.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
implements-trait.rs
inherent_impl.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
issue-825.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
issues_loop_mut_cond.rs
match_same_arms_const.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
needless_borrow_fp.rs
needless_lifetimes_impl_trait.fixed Merge commit 'aa0d551351a9c15d8a95fdb3e2946b505893dda8' into clippy-subtree-update 2024-10-03 16:32:51 +02:00
needless_lifetimes_impl_trait.rs
needless_lifetimes_impl_trait.stderr Merge commit 'aa0d551351a9c15d8a95fdb3e2946b505893dda8' into clippy-subtree-update 2024-10-03 16:32:51 +02:00
needless_pass_by_value-w-late-bound.fixed
needless_pass_by_value-w-late-bound.rs
needless_pass_by_value-w-late-bound.stderr Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
regressions.rs
returns.rs Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into clippy-subtree-update 2024-09-24 11:58:04 +02:00
shadow.rs
single-match-else.rs
trivial_bounds.rs
unreachable-array-or-slice.rs
unreachable-array-or-slice.stderr
used_underscore_binding_macro.rs