Skip to content

Lint conflicting_repr_hint should explain how to update flagged codeΒ #113641

Open
@gonzalobg

Description

@gonzalobg

My app using #[repr(C, u8)] enum to FFI with a C++ enum class : uint8_t {} stopped compiling when updating the toolchain.

The warning produced does not explain how to update this code.
The warning points to: #68585
In which this comment says that my code is the obvious way to do that: #68585 (comment)

The warning should explain how to update my code so that it continues working correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.C-future-incompatibilityCategory: Future-incompatibility lintsL-conflicting_repr_hintLint: conflicting_repr_hint

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions