Skip to content

why not derive(Debug) by default #28185

@clouds56

Description

@clouds56

and use attribute #[nodebug] to specific others?

in the document, it says

Format trait for the :? format. Useful for debugging, all types should implement this.
Generally speaking, you should just derive a Debug implementation.

but sometimes missing it, and I could only manually add it package by package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions