mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 06:28:20 +03:00
+1
-1
@@ -1001,7 +1001,7 @@ fn make_aggregate_repr<V>(&self, variant_fields: V) -> Repr
|
||||
variants.push(fields);
|
||||
}
|
||||
|
||||
let discr_size = match variants.len() {
|
||||
let discr_size = match variants.len() as u64 {
|
||||
n if n <= 1 => 0,
|
||||
n if n <= 1 << 8 => 1,
|
||||
n if n <= 1 << 16 => 2,
|
||||
|
||||
Reference in New Issue
Block a user