)]}'
{
  "commit": "1ae52bc8906394acccab09ce5a0eb6fedfa049d4",
  "tree": "fdc033ef0dce17795baa765cd7fb8105bd48b92e",
  "parents": [
    "16a60ffd4d9f403359a9a53970df789bde5cd1fe",
    "ab8da78b45a96cf6a706219a8216a52cb8382da2"
  ],
  "author": {
    "name": "Jacob Pratt",
    "email": "jacob@jhpratt.dev",
    "time": "Thu Jul 09 20:09:12 2026 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Jul 09 20:09:12 2026 -0400"
  },
  "message": "Rollup merge of #158859 - blyxyas:fix-ls-unstable-opt, r\u003dbjorn3\n\nImprove `-Zls` diagnostic message on `.rs` files\n\nRefer the user to use `rustc -Zls` on `.rmeta` files instead of `.rs` files. And if they\u0027re using cargo, warn them to use rustc directly.\n\n\u003e [!IMPORTANT]\n\u003e First few comments in this pull request refer to changing the flag itself to work on source files. This was instead overruled to warn the user about executing on `.rmeta` files instead of `.rs` files.\n\n\u003cdetails\u003e\u003csummary\u003eOld description\u003c/summary\u003e\n\u003cp\u003e\nThis unstable option has been broken since forever (more than 2.5 years,\nat least), but it\u0027s exactly what I need for debugging the new\nincremental system, so rather than removing it I opted for fixing it.\n\nThe issue was that we were feeding the source file like, `src/lib.rs` instead of the `.rmeta` file. So literally every use of `-Zls\u003d..` was returning  `invalid metadata version found: ..`\n\nThis PR also includes some testing.\n\nRelevant for https://github.com/rust-lang/rust-project-goals/issues/641.\n\n\u003c/p\u003e\n\u003c/details\u003e\n",
  "tree_diff": []
}
