Make ExpnData fields krate and orig_id private#80648
Conversation
These fields are only used by hygiene serialized, and should not be accessed by anything outside of `rustc_span`.
|
(rust-highfive has picked a reviewer for you, use r? to override) |
|
@petrochenkov Does this look good to you? |
|
@Aaron1011 I may miss pings among other mail, so it's better to assign me and set |
|
@bors r+ |
|
📌 Commit 21b8f2e has been approved by |
|
⌛ Testing commit 21b8f2e with merge 792d0bfe6c9541ee9dbd856c66b00e86db636f5f... |
|
💥 Test timed out |
|
@bors retry |
|
⌛ Testing commit 21b8f2e with merge 9e2d21ee8fbb9cf5cfc01146bd1a3cefc5477336... |
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
💔 Test failed - checks-actions |
@bors retry |
|
☀️ Test successful - checks-actions |
… r=nikomatsakis Allow Trait inheritance with cycles on associated types take 2 This reverts the revert of rust-lang#79209 and fixes the ICEs that's occasioned by that PR exposing some problems that are addressed in rust-lang#80648 and rust-lang#79811. For easier review I'd say, check only the last commit, the first one is just a revert of the revert of rust-lang#79209 which was already approved. This also could be considered part or the actual fix of rust-lang#79560 but I guess for that to be closed and fixed completely we would need to land rust-lang#80648 and rust-lang#79811 too. r? `@nikomatsakis` cc `@Aaron1011`
… r=nikomatsakis Allow Trait inheritance with cycles on associated types take 2 This reverts the revert of rust-lang#79209 and fixes the ICEs that's occasioned by that PR exposing some problems that are addressed in rust-lang#80648 and rust-lang#79811. For easier review I'd say, check only the last commit, the first one is just a revert of the revert of rust-lang#79209 which was already approved. This also could be considered part or the actual fix of rust-lang#79560 but I guess for that to be closed and fixed completely we would need to land rust-lang#80648 and rust-lang#79811 too. r? `@nikomatsakis` cc `@Aaron1011`
These fields are only used by hygiene serialized, and should not be
accessed by anything outside of
rustc_span.