Searched refs:discriminants (Results 1 – 9 of 9) sorted by relevance
124 ## Enum discriminants126 You may provide explicit discriminants for some or all of the enum variants, in146 fitting all the discriminants (whether explicit or implicit). If you need a201 discriminants, repr). Again, CXX will static assert that all of those things you
1 error: enums with non-integer literal discriminants are not supported yet
47 // Unmatched discriminants68 // Unmatched non-discriminants
76 // Unmatched discriminants113 // Unmatched non-discriminants
76 // Unmatched discriminants114 // Unmatched non-discriminants
167 // these two are still errors despite their doubled up discriminants
108 // these two are still errors despite their doubled up discriminants
130 // these two are still errors despite their doubled up discriminants
227 let mut discriminants = DiscriminantSet::new(repr); in parse_enum() localVariable229 match parse_variant(cx, variant, &mut discriminants) { in parse_enum()241 match discriminants.inferred_repr() { in parse_enum()286 discriminants: &mut DiscriminantSet, in parse_variant()314 Some(lit) => discriminants.insert(lit), in parse_variant()315 None => discriminants.insert_next(), in parse_variant()