mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-07-20 12:13:44 -04:00
80f64637f5
Custom derives are just as useful on enums as they are on structs; not supporting this was an oversight. Adds a test that will fail to compile if the custom derive doesn't work on enums. This test fails without the codegen fix.