)]}'
{
  "commit": "efbc8957a68d1295412bbfe210e6dd1be4a255ee",
  "tree": "81b2e731cabebe4b5888eda137c7b1d0b5896b77",
  "parents": [
    "8387095803f21a256a9a772ac1f9b41ed4d5aa0a",
    "257a415e05ca85f156f549604952040fd9e496fe"
  ],
  "author": {
    "name": "Stuart Cook",
    "email": "Zalathar@users.noreply.github.com",
    "time": "Wed Feb 18 17:29:41 2026 +1100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Feb 18 17:29:41 2026 +1100"
  },
  "message": "Rollup merge of #145399 - estebank:resolve-error-wording-2, r\u003dpetrochenkov\n\nUnify wording of resolve error\n\nRemove \"failed to resolve\" from the main error message and use the same format we use in other resolution errors \"cannot find `name`\":\n\n```\nerror[E0433]: cannot find `nonexistent` in `existent`\n  --\u003e $DIR/custom_attr_multisegment_error.rs:5:13\n   |\nLL | #[existent::nonexistent]\n   |             ^^^^^^^^^^^ could not find `nonexistent` in `existent`\n```\n\nThe intent behind this is to end up with all resolve errors eventually be on the form of\n\n```\nerror[ECODE]: cannot find `{NAME}` in {SCOPE}\n  --\u003e $DIR/file.rs:5:13\n   |\nLL | #[existent::nonexistent]\n   |             ^^^^^^^^^^^ {SPECIFIC LABEL}\n```\n\nA category of errors that is interest are those that involve keywords. For example:\n\n```\nerror[E0433]: cannot find `Self` in this scope\n  --\u003e $DIR/issue-97194.rs:2:35\n   |\nLL |     fn bget(\u0026self, index: [usize; Self::DIM]) -\u003e bool {\n   |                                   ^^^^ `Self` is only available in impls, traits, and type definitions\n```\nand\n\n```\nerror[E0433]: cannot find `super` in this scope\n  --\u003e $DIR/keyword-super.rs:2:9\n   |\nLL |     let super: isize;\n   |         ^^^^^ there are too many leading `super` keywords\n```\n\nFor these the label provides the actual help, while the message is less informative beyond telling you \"couldn\u0027t find `name`\".\n\nThis is an off-shoot of https://github.com/rust-lang/rust/pull/126810 and https://github.com/rust-lang/rust/pull/128086, a subset of the intended changes there with review comments applied.\n\nr? @petrochenkov\n",
  "tree_diff": []
}
