make interpreter and TyAndLayout type Debug impl independent of Ty debug impl by RalfJung · Pull Request #115866 · rust-lang/rust

@RalfJung

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.

labels

Sep 15, 2023

@RalfJung RalfJung changed the title make interpreter type Debug impl independent of Ty debug impl make interpreter and tyAndLayout type Debug impl independent of Ty debug impl

Sep 15, 2023

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Sep 15, 2023

@RalfJung RalfJung changed the title make interpreter and tyAndLayout type Debug impl independent of Ty debug impl make interpreter and TyAndLayout type Debug impl independent of Ty debug impl

Sep 15, 2023

@BoxyUwU @RalfJung

bors added a commit to rust-lang-ci/rust that referenced this pull request

Sep 16, 2023
…iaskrgr

Rollup of 2 pull requests

Successful merges:

 - rust-lang#115607 (clarify that unsafe code must not rely on our safe traits)
 - rust-lang#115866 (make interpreter and TyAndLayout type Debug impl independent of Ty debug impl)

Failed merges:

 - rust-lang#115873 (Make `TyKind::Adt`'s `Debug` impl be more pretty)
 - rust-lang#115884 (make ty::Const debug printing less verbose)

r? `@ghost`
`@rustbot` modify labels: rollup

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Sep 16, 2023
Rollup merge of rust-lang#115866 - RalfJung:interpret-debug, r=compiler-errors

make interpreter and TyAndLayout type Debug impl independent of Ty debug impl

This fixes some (but not all) of the fallout from rust-lang#115661.

Second commit is taken from rust-lang#107084 (and slightly adjusted); I preserved the original git author information.