about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/graph.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-09-04 17:07:39 +0000
committerbors <bors@rust-lang.org>2020-09-04 17:07:39 +0000
commitd2454643e137bde519786ee9e650c455d7ad6f34 (patch)
treece7c0a9de68030f6e3ec440400065cbaa51adfa9 /compiler/rustc_mir/src/transform/coverage/graph.rs
parent80cacd77954b39a6bc205213faa8c82c97eb0055 (diff)
parent4d28a82c590aa77fbd1e5e0f8a0fe611c93b5a71 (diff)
downloadrust-d2454643e137bde519786ee9e650c455d7ad6f34.tar.gz
rust-d2454643e137bde519786ee9e650c455d7ad6f34.zip
Auto merge of #75077 - LeSeulArtichaut:tys-kind, r=nikomatsakis
Refractor ty.kind -> ty.kind() and ty.flags -> ty.flags()

First step for the ["shared library to represent Rust types"](https://rust-lang.github.io/compiler-team/minutes/design-meeting/2020-03-12-shared-library-for-types/) work (rust-lang/wg-traits#16).

This PR makes the `TyS::kind` field private and adds a `kind()` method to access it.
As noted [on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/144729-wg-traits/topic/Looking.20to.20contribute/near/205185412), this refractoring might require a MCP. I am perfectly fine with having to wait until MCP is accepted and resolving the conflicts that pop up afterwards.

r? @nikomatsakis
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions