)]}'
{
  "commit": "cf92e58fef3d6368c63de56d9f503e9a05cd4829",
  "tree": "7cd187080a7ec99b43df911e8352d0b159e3c219",
  "parents": [
    "18d42468b25d69a223aaee237616265aa6ec5be7"
  ],
  "author": {
    "name": "Travis Cross",
    "email": "tc@traviscross.com",
    "time": "Mon Apr 20 02:12:20 2026 +0000"
  },
  "committer": {
    "name": "Travis Cross",
    "email": "tc@traviscross.com",
    "time": "Mon Apr 20 03:55:17 2026 +0000"
  },
  "message": "Document trailing `self` in paths\n\nThe Reference says that `self` can only appear as the first segment of\na path.  Further, the `use` chapter describes `{self}` brace syntax as\nthe way to bind the parent entity of a `use` path under its own name.\n\nIn rust-lang/rust#155137, we\u0027re relaxing these restrictions: `self`\nmay now also appear as the last segment of a path (preceded by `::`)\nas long as the preceding path resolves to a module, enumeration,\nor trait.  In a `use` path, `use P::self [as name]` is equivalent\nto `use P::{self [as name]}`.  In non-`use` paths, forms such as\n`type Ty \u003d P::self` and `pub(in P::self)` are now accepted.\n\nLet\u0027s update the Reference to reflect this.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d01ab6a7674c69bad509904c040e67b75b474acd",
      "old_mode": 33188,
      "old_path": "src/items/use-declarations.md",
      "new_id": "49781895c82a63671b730bcea80ca3f4845d641b",
      "new_mode": 33188,
      "new_path": "src/items/use-declarations.md"
    },
    {
      "type": "modify",
      "old_id": "3df5b5e02f8e9ef4623da5e3800fc85bf7ea7165",
      "old_mode": 33188,
      "old_path": "src/paths.md",
      "new_id": "7f8ca4166549def2f18ba392abf01073999ac00d",
      "new_mode": 33188,
      "new_path": "src/paths.md"
    }
  ]
}
