diff options
| author | bors <bors@rust-lang.org> | 2021-07-06 04:13:52 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-07-06 04:13:52 +0000 |
| commit | 9a27044f42ace9eb652781b53f598e25d4e7e918 (patch) | |
| tree | 4dee16475fbacbb691006f2c7306724ff8e3e280 /compiler/rustc_codegen_gcc | |
| parent | d5a406bb665213a0ceb6980921a39617d35a2e2d (diff) | |
| parent | a89912c8c3a97e5d3b50833984d8dbe23a2fdf52 (diff) | |
| download | rust-9a27044f42ace9eb652781b53f598e25d4e7e918.tar.gz rust-9a27044f42ace9eb652781b53f598e25d4e7e918.zip | |
Auto merge of #86644 - Stupremee:replace-fakedefids-with-itemid, r=jyn514
rustdoc: Replace `FakeDefId` with new `ItemId` type Follow up from #84707 `@Manishearth` [suggested](https://github.com/rust-lang/rust/pull/84707#issuecomment-831994669) that there should be a new `ItemId` type that can distinguish between auto traits, normal ids, and blanket impls instead of using `FakeDefId`s. This type is introduced by this PR. There are still some `FIXME`s left, because I was unsure what the best solution for them would be. Especially the naming in general now is a bit weird right now and needs to be cleaned up. Now there are no "fake" ids so the `is_fake` method on `Item` does not really make sense and maybe the methods on `ItemId` should be renamed too? Also, we need to represent the new item ids in the JSON backend somehow.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
