-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.Category: This is a bug.C-future-incompatibilityCategory: Future-incompatibility lintsCategory: Future-incompatibility lintsL-conflicting_repr_hintLint: conflicting_repr_hintLint: conflicting_repr_hint
Description
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.
fmease, ClaudioHoffmann and Skgland
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.C-bugCategory: This is a bug.Category: This is a bug.C-future-incompatibilityCategory: Future-incompatibility lintsCategory: Future-incompatibility lintsL-conflicting_repr_hintLint: conflicting_repr_hintLint: conflicting_repr_hint