{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreida6kaakwjb7iw6mqr4ryc7vtz4kfbniyqh36hqoxmqo3zxanuhmm",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mgxkv27lu7p2"
  },
  "path": "/t/pre-feature-request-suppress-unused-variable-warning-for-unit-type-arguments/24065#post_16",
  "publishedAt": "2026-03-13T16:20:12.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "zackw:\n\n> when, inevitably, the subcommand grows some options\n\nNemo157:\n\n> `let SubcommandwithNoOptionsArgs { } = args;`\n\nI really like this solution, as it adds a place in the function where you acknowledge that it (currently) has no args.\n\nLater if you add args, you get a nice error about missing fields, instead of a softer lint when it's no longer meeting the ZST special case. The hard error is much more clear in my opinion.",
  "title": "Pre-feature request: suppress unused variable warning for unit-type arguments"
}