rust/compiler/rustc_middle
Guillaume Gomez 692a22e735
Rollup merge of #103618 - nnethercote:rename-OwnerId-fields, r=compiler-errors
Rename some `OwnerId` fields.

`@spastorino` noticed some silly expressions like `item_id.def_id.def_id`.

This commit renames several `def_id: OwnerId` fields as `owner_id`, so those expressions become `item_id.owner_id.def_id`.

`item_id.owner_id.local_def_id` would be even clearer, but the use of `def_id` for values of type `LocalDefId` is *very* widespread, so I left that alone.

r? `@compiler-errors`
2022-10-29 14:18:03 +02:00
..
src Rollup merge of #103618 - nnethercote:rename-OwnerId-fields, r=compiler-errors 2022-10-29 14:18:03 +02:00
Cargo.toml Move utils from rustc_middle to rustc_ty_utils 2022-10-03 09:12:03 -05:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

For more information about how rustc works, see the rustc dev guide.