Skip to content

Forward Display through Box when the inner type supports it - #57

Open
sekaiser wants to merge 1 commit into
oxidecomputer:mainfrom
sekaiser:fix/box-display
Open

sekaiser wants to merge 1 commit into
oxidecomputer:mainfrom
sekaiser:fix/box-display

Conversation

@sekaiser

Copy link
Copy Markdown
Contributor

Fixes #42.

Box<T> implements Display when T does, but trait resolution currently rejects it.

Forward Display through Box while keeping Copy and FromStr unsupported. Enable the existing regression test and update the affected trait-resolution and compiler-probe expectations.

Keep Copy and FromStr unsupported. Enable and relocate the Box Display regression, update compiler probes, and adjust existing resolution and rendering expectations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Box is never Display

1 participant