You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DemiMarie opened this issue
Aug 4, 2016
· 1 comment
Labels
C-bugCategory: Clippy is not doing the correct thingE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.
My project includes C-like enums with discriminants that depend on the pointer width. This is done with cfg(target_pointer_width = "x") on consts. As a result, I get false positives from enum_clike_unportable_variant.
The text was updated successfully, but these errors were encountered:
This probably requires rustc support to detect whether something was cfg'ed, and the cfg-message, too.
oli-obk
added
C-bug
Category: Clippy is not doing the correct thing
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
labels
Aug 8, 2016
C-bugCategory: Clippy is not doing the correct thingE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.
My project includes C-like enums with discriminants that depend on the pointer width. This is done with
cfg(target_pointer_width = "x")
on consts. As a result, I get false positives fromenum_clike_unportable_variant
.The text was updated successfully, but these errors were encountered: