Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fmt impl for QualifiedNameAndType #6243

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

pr0me
Copy link

@pr0me pr0me commented Dec 10, 2024

Currently, only Type has a fmt::Debug implementation, with the effect that the printer has no knowledge of the type name.
This is undesirable for, e.g., imported types.

This PR adds a debug print for QualifiedNameAndType that prints the full type declaration as it would appear in an exported header file.

If a (cleaner) way to achieve this already exists, please let me know.

@CLAassistant
Copy link

CLAassistant commented Dec 10, 2024

CLA assistant check
All committers have signed the CLA.

@emesare emesare self-assigned this Dec 13, 2024
@emesare emesare added the Component: Rust API Issue needs changes to the Rust API label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Rust API Issue needs changes to the Rust API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants