rustc: Consider native types to be scalar
This commit is contained in:
parent
55587a554c
commit
2ca66718ce
|
@ -409,6 +409,7 @@ fn type_is_scalar(@t ty) -> bool {
|
|||
case (ty_machine(_)) { ret true; }
|
||||
case (ty_char) { ret true; }
|
||||
case (ty_type) { ret true; }
|
||||
case (ty_native) { ret true; }
|
||||
case (_) { ret false; }
|
||||
}
|
||||
fail;
|
||||
|
|
Loading…
Reference in New Issue