1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
use wasm_bindgen::prelude::*; #[wasm_bindgen] enum A {} #[wasm_bindgen] pub enum B { D(u32), } #[wasm_bindgen] pub enum C { X = 1 + 3, } #[wasm_bindgen] pub enum D { X = 4294967296, } fn main() {}