)]}'
{
  "commit": "b80c154cf0fda31a6fa9ce85c60bfcb82966cd67",
  "tree": "70fe607c374efbc456d8b7b335bacb8bb8883618",
  "parents": [
    "831a427a5236022bd5f7b20aa73cce9f61cdc030"
  ],
  "author": {
    "name": "Arthur Cohen",
    "email": "arthur.cohen@embecosm.com",
    "time": "Wed Jun 10 17:49:03 2026 +0200"
  },
  "committer": {
    "name": "Arthur Cohen",
    "email": "arthur.cohen@embecosm.com",
    "time": "Thu Jun 25 19:21:44 2026 +0200"
  },
  "message": "gccrs: typecheck: Special case builtin types when typechecking types.\n\nType definition conflicts are allowed in the case of builtin types. This is used in the\n`core` crate to add some more functionality to the builtin types. The consequence of this\nis that we need to special case the resolution of types in the case that their name could\nrefer to a module or to a builtin type.\n\ngcc/rust/ChangeLog:\n\n\t* typecheck/rust-hir-type-check-type.cc (TypeCheckType::resolve_root_path): Add\n\tspecial casing for resolving to the builtin type definition if the found type\n\thas the same name and is a module.\n\ngcc/testsuite/ChangeLog:\n\n\t* rust/compile/type-with-builtin-type-name.rs: New test.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "451261363fb0dda4b95b06bb262b1b85861f2883",
      "old_mode": 33188,
      "old_path": "gcc/rust/typecheck/rust-hir-type-check-type.cc",
      "new_id": "a7455eb2277a792b3974c1aeb79bd0af513a8461",
      "new_mode": 33188,
      "new_path": "gcc/rust/typecheck/rust-hir-type-check-type.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a3261a33ce0f7bbc2f9f830d17c98b9d803578c0",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/rust/compile/type-with-builtin-type-name.rs"
    }
  ]
}
